From 02e077aa480504977a5554e7181a13547c14938f Mon Sep 17 00:00:00 2001 From: wiredfool Date: Sat, 21 Jan 2017 02:21:58 -0800 Subject: [PATCH] run pep8/pyflakes on all non-docker builds --- .travis/after_success.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis/after_success.sh b/.travis/after_success.sh index 415224f48..136dbdc8e 100755 --- a/.travis/after_success.sh +++ b/.travis/after_success.sh @@ -13,14 +13,16 @@ coverage report pip install coveralls-merge coveralls-merge coverage.c.json -if [ "$TRAVIS_PYTHON_VERSION" == "2.7" ] && [ "$DOCKER" == "" ]; then +if [ "$DOCKER" == "" ]; then pip install pep8 pyflakes pep8 --statistics --count PIL/*.py pep8 --statistics --count Tests/*.py pyflakes *.py | tee >(wc -l) pyflakes PIL/*.py | tee >(wc -l) pyflakes Tests/*.py | tee >(wc -l) +fi +if [ "$TRAVIS_PYTHON_VERSION" == "2.7" ] && [ "$DOCKER" == "" ]; then # Coverage and quality reports on just the latest diff. # (Installation is very slow on Py3, so just do it for Py2.) depends/diffcover-install.sh