Only run pep8 and pyflakes via 2.7
This commit is contained in:
parent
1849c98663
commit
9529c5a44f
|
@ -9,8 +9,8 @@ install:
|
|||
- pip install pep8 pyflakes
|
||||
|
||||
script:
|
||||
- pep8 --show-source speedtest_cli.py
|
||||
- pyflakes speedtest_cli.py
|
||||
- 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
|
||||
|
||||
notifications:
|
||||
|
|
Loading…
Reference in New Issue