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