From 55876c1bc782d7535a40989f380935d315785bf4 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Mon, 10 Feb 2014 21:31:37 -0600 Subject: [PATCH] Expand tests --- .travis.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4a8809e..3631f18 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,11 @@ language: python python: + - 2.6 - 2.7 + - 3.0 + - 3.1 + - 3.2 - 3.3 install: @@ -10,9 +14,14 @@ install: - pip install pep8 pyflakes script: - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pep8 --show-source speedtest_cli.py; fi + - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pyflakes speedtest_cli.py; fi + - python speedtest_cli.py - - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then curl -s http://www.python.org/ftp/python/2.4.6/Python-2.4.6.tar.bz2 | tar xj && cd Python-2.4.6; ./configure --prefix=$HOME/virtualenv/python2.4 > /dev/null 2>&1 && make > /dev/null 2>&1 && make install > /dev/null 2>&1 && cd .. && ~/virtualenv/python2.4/bin/python -V && ~/virtualenv/python2.4/bin/python ./speedtest_cli.py; fi + + - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then curl -s http://www.python.org/ftp/python/2.4.6/Python-2.4.6.tar.bz2 | tar xj && cd Python-2.4.6; ./configure --prefix=$HOME/virtualenv/python2.4 > /dev/null 2>&1 && make > /dev/null 2>&1 && make install > /dev/null 2>&1 && cd ..; ~/virtualenv/python2.4/bin/python2.4 -V; fi + + - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then ~/virtualenv/python2.4/bin/python ./speedtest_cli.py; fi notifications: email: