Measure test coverage

This commit is contained in:
Jakub Stasiak 2017-05-23 23:45:09 +02:00
parent bff0ad15e1
commit 0944b6d838
2 changed files with 4 additions and 2 deletions

2
.gitignore vendored
View File

@ -2,3 +2,5 @@
__pycache__/
docs/_build/
build/
htmlcov/
*,cover

View File

@ -17,5 +17,5 @@ matrix:
- python: "nightly"
install:
- pip install pytest "typing$TYPING_VERSION"
script: py.test -vv
- pip install pytest "typing$TYPING_VERSION" "pytest-cov>=2.5.1"
script: py.test -vv --cov=injector --cov-branch --cov-report html --cov-report term