Merge pull request #2176 from hugovk/nightly-tests

Build: Reinstate coverage tests on nightly
This commit is contained in:
wiredfool 2016-11-11 17:05:34 +00:00 committed by GitHub
commit 76d156bef0

View File

@ -54,12 +54,12 @@ before_script:
- "sh -e /etc/init.d/xvfb start"
script:
- if [ "$TRAVIS_PYTHON_VERSION" != "nightly" ]; then coverage erase; fi
- coverage erase
- python setup.py clean
- CFLAGS="-coverage" python setup.py build_ext --inplace
- if [ "$TRAVIS_PYTHON_VERSION" != "nightly" ]; then coverage run --append --include=PIL/* selftest.py; fi
- if [ "$TRAVIS_PYTHON_VERSION" != "nightly" ]; then coverage run --append --include=PIL/* -m nose -vx Tests/test_*.py; fi
- coverage run --append --include=PIL/* selftest.py
- coverage run --append --include=PIL/* -m nose -vx Tests/test_*.py
- pushd /tmp/check-manifest && check-manifest --ignore ".coveragerc,.editorconfig,*.yml,*.yaml,tox.ini" && popd
# Docs