diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 7 |
1 files 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" |