From ba743398996bbdb1c320efca318cb53f7af98c97 Mon Sep 17 00:00:00 2001 From: hugovk Date: Sun, 4 Jan 2015 11:12:36 +0200 Subject: [PATCH] Move after_all to end of after_success --- .travis.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 52242682a..16241dd30 100644 --- a/.travis.yml +++ b/.travis.yml @@ -55,7 +55,6 @@ after_success: - travis_retry pip install coveralls-merge - coveralls-merge coverage.c.json - - travis_retry pip install pep8 pyflakes - pep8 --statistics --count PIL/*.py - pep8 --statistics --count Tests/*.py @@ -63,6 +62,11 @@ after_success: - pyflakes PIL/*.py | tee >(wc -l) - pyflakes Tests/*.py | tee >(wc -l) + # Coverage and quality reports on just the latest diff. + # (Installation is very slow on Py3, so just do it for Py2.) + - if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then Scripts/diffcover-install.sh; fi + - if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then Scripts/diffcover-run.sh; fi + # after_all - python travis_after_all.py - export $(cat .to_export_back) @@ -77,11 +81,6 @@ after_success: fi fi - # Coverage and quality reports on just the latest diff. - # (Installation is very slow on Py3, so just do it for Py2.) - - if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then Scripts/diffcover-install.sh; fi - - if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then Scripts/diffcover-run.sh; fi - after_failure: - python travis_after_all.py - export $(cat .to_export_back)