diff --git a/.travis.yml b/.travis.yml index 5092c2a1a..4ac3c17cc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -52,5 +52,10 @@ after_success: - coverage report - travis_retry pip install coveralls-merge - coveralls-merge coverage.c.json + + # 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 matrix: fast_finish: true