travis.yml: add coveralls for coveralls.io, run tests with coverage

This commit is contained in:
Thomas Waldmann 2013-11-21 04:32:02 +01:00
parent 1a02925bfa
commit 0626bf42cb

View File

@ -4,8 +4,10 @@ python:
- "pypy"
install:
- "pip install --upgrade --use-mirrors -e ."
- "pip install coveralls"
env: SECRET_KEY=justfortravis
script: "py.test --pep8"
script: "coverage run --source nsupdate --omit '*/migrations/*,*/_tests/*' -m py.test --pep8"
after_success: coveralls
notifications:
email:
recipients: