Skip to content

Commit 5bb13e4

Browse files
committed
do code coverage in travis
1 parent c8c397b commit 5bb13e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ before_script: # configure a headless display to test plot generation
2626
# command to install dependencies
2727
install:
2828
- pip install -r requirements.txt
29-
- pip install flake8 pytest
29+
- pip install flake8 pytest pytest-cov
3030
- pip install .
3131
# command to run tests + check syntax style
3232
script:
3333
- python setup.py develop
3434
- flake8 examples/ ot/ test/
35-
- python -m pytest -v test/
35+
- python -m pytest -v test/ --cov=ot
3636
# - py.test ot test

0 commit comments

Comments
 (0)