Add pypy support

This commit is contained in:
Matt Martz 2014-02-11 12:22:08 -06:00
parent d22842346f
commit ace90a4109
1 changed files with 2 additions and 1 deletions

View File

@ -6,10 +6,12 @@ python:
- 2.7 - 2.7
- 3.2 - 3.2
- 3.3 - 3.3
- pypy
install: install:
- pip install . - pip install .
- pip install pep8 pyflakes - pip install pep8 pyflakes
script: script:
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pep8 --show-source speedtest_cli.py; fi - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pep8 --show-source speedtest_cli.py; fi
@ -17,7 +19,6 @@ script:
- python speedtest_cli.py - python speedtest_cli.py
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then ls ~/virtualenv/; 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; 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; fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then cd Python-2.4.6; ./configure --prefix=$HOME/virtualenv/python2.4 > /dev/null 2>&1; fi - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then cd Python-2.4.6; ./configure --prefix=$HOME/virtualenv/python2.4 > /dev/null 2>&1; fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then make > /dev/null 2>&1; fi - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then make > /dev/null 2>&1; fi