ENH: run tests with coverage

This commit is contained in:
Yaroslav Halchenko 2018-09-11 23:23:59 -04:00
parent 30716c1ea0
commit ad0af328f3
1 changed files with 6 additions and 1 deletions

View File

@ -30,7 +30,12 @@ before_install:
# command to install dependencies
install:
- pip install -r requirements.txt
- pip install -q codecov
# command to run tests
script: make test PYTESTOPTS=-s
script:
- make localbuild
- coverage run -- `which pytest` -s -v tests/
#notifications:
# email: false