Fail if coverage drops below 100%

This commit is contained in:
Ian Cordasco
2014-06-25 10:44:09 -05:00
committed by Ian Cordasco
parent 6876da4ffc
commit 9035659f35

View File

@@ -11,7 +11,14 @@ python:
before_script:
- pip install -r dev-requirements.txt
script: py.test --cov rfc3986
script:
- >
if [[ $TRAVIS_PYTHON_VERSION == pypy ]]; then
py.test test/
else
py.test -n 4 --cov rfc3986 tests/
coverage report -m --fail-under 100
fi
notifications:
on_success: change