Compare commits

...

17 Commits

Author SHA1 Message Date
Matt Martz ace90a4109 Add pypy support 2014-02-11 12:22:08 -06:00
Matt Martz d22842346f Trying to learn more about the python env I am running in 2014-02-11 12:14:38 -06:00
Matt Martz 446f224785 formatting changes 2014-02-10 21:57:49 -06:00
Matt Martz ce478cd45f python 3.0 and 3.1 are apparently old 2014-02-10 21:36:38 -06:00
Matt Martz 6efbdcdd46 Small tweak 2014-02-10 21:35:57 -06:00
Matt Martz 55876c1bc7 Expand tests 2014-02-10 21:31:37 -06:00
Matt Martz 8e0f260191 Alternative 2014-02-10 21:25:24 -06:00
Matt Martz 8213cb039e Add configuration to test python2.4 2014-02-10 21:17:19 -06:00
Matt Martz 628bbcbd19 Apparently python2.4 isn't installed 2014-02-10 17:06:31 -06:00
Matt Martz e3d377d9d0 Is this where python2.4 is located? 2014-02-10 17:04:46 -06:00
Matt Martz a30bcf8343 going to find it 2014-02-10 17:00:47 -06:00
Matt Martz a9e7c4f41e python24? 2014-02-10 16:56:56 -06:00
Matt Martz d9a30e2834 Can we run python2.4 from a 2.7 venv? 2014-02-10 16:52:27 -06:00
Matt Martz 9529c5a44f Only run pep8 and pyflakes via 2.7 2014-02-10 16:43:34 -06:00
Matt Martz 1849c98663 For now let's try just running speedtest_cli.py 2014-02-10 16:40:15 -06:00
Matt Martz 14e5040c99 Only test using python 2.7 for right now 2014-02-08 09:52:01 -06:00
Matt Martz 64925b93cf Add travis configuration 2014-02-08 09:37:39 -06:00
1 changed files with 31 additions and 0 deletions

31
.travis.yml Normal file
View File

@ -0,0 +1,31 @@
---
language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
- pypy
install:
- pip 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.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 make > /dev/null 2>&1; fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then make install > /dev/null 2>&1; cd ..; fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then ~/virtualenv/python2.4/bin/python2.4 -V; fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then ~/virtualenv/python2.4/bin/python2.4 ./speedtest_cli.py; fi
notifications:
email:
- matt@sivel.net