Only run pep8 and pyflakes via 2.7

This commit is contained in:
Matt Martz 2014-02-10 16:43:34 -06:00
parent 1849c98663
commit 9529c5a44f
1 changed files with 2 additions and 2 deletions

View File

@ -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: