From 9529c5a44fe28ae202a98f66a4300794e4fa27e4 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Mon, 10 Feb 2014 16:43:34 -0600 Subject: [PATCH] Only run pep8 and pyflakes via 2.7 --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3f0651a..792eb76 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: