2014-02-11 04:17:19 +01:00
|
|
|
---
|
2014-02-08 16:37:39 +01:00
|
|
|
language: python
|
|
|
|
|
|
|
|
python:
|
|
|
|
- 2.7
|
2014-02-10 23:40:15 +01:00
|
|
|
- 3.3
|
2014-02-08 16:37:39 +01:00
|
|
|
|
|
|
|
install:
|
|
|
|
- pip install .
|
2014-02-08 16:52:01 +01:00
|
|
|
- pip install pep8 pyflakes
|
2014-02-08 16:37:39 +01:00
|
|
|
script:
|
2014-02-10 23:43:34 +01:00
|
|
|
- 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
|
2014-02-10 23:40:15 +01:00
|
|
|
- python speedtest_cli.py
|
2014-02-11 04:25:24 +01:00
|
|
|
- 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
|
2014-02-08 16:37:39 +01:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
- matt@sivel.net
|