Alternative
This commit is contained in:
parent
8213cb039e
commit
8e0f260191
12
.travis.yml
12
.travis.yml
|
@ -1,13 +1,3 @@
|
||||||
---
|
|
||||||
language: c
|
|
||||||
|
|
||||||
script:
|
|
||||||
- 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
|
|
||||||
- $HOME/virtualenv/python2.4/bin/python -V
|
|
||||||
- $HOME/virtualenv/python2.4/bin/python speedtest_cli.py
|
|
||||||
|
|
||||||
---
|
---
|
||||||
language: python
|
language: python
|
||||||
|
|
||||||
|
@ -18,11 +8,11 @@ python:
|
||||||
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
|
||||||
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pyflakes speedtest_cli.py; fi
|
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pyflakes speedtest_cli.py; fi
|
||||||
- python speedtest_cli.py
|
- 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
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
|
|
Loading…
Reference in New Issue