From a789debc90a14a4cc4979a2105601ba6a8150d12 Mon Sep 17 00:00:00 2001 From: andy Date: Sat, 27 Apr 2013 13:17:34 -0700 Subject: install pep8 in install: section --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4ad8569..ec1d10a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,8 +6,9 @@ python: - "2.6" - "2.5" env: - - PEP8=0 - - PEP8=1 + - TEST_PEP8=0 + - TEST_PEP8=1 install: - pip install -e . --use-mirrors -script: "if [[ $PEP8 == '1' ]]; then pip install pep8 --use-mirrors; pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc,build,*.egg .; else python setup.py test; fi" + - "if [[ $TEST_PEP8 == '1' ]]; then pip install pep8 --use-mirrors; fi" +script: "if [[ $TEST_PEP8 == '1' ]]; then pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc,build,*.egg .; else python setup.py test; fi" -- cgit v1.2.1