Skip to content

Commit

Permalink
chore: fix coverage run on travis
Browse files Browse the repository at this point in the history
Omit coverage checks on venv modules
  • Loading branch information
d-Rickyy-b committed Dec 27, 2020
1 parent 1bd83e5 commit 0c250e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ install:
# command to run tests
script:
- python -m compileall ./
- coverage run -m unittest discover -s . -v -p "*_test.py"
- coverage run --omit='*/virtualenv/*,*/site-packages/*' -m unittest discover -s . -v -p "*_test.py"

after_success:
- coveralls
Expand Down

0 comments on commit 0c250e1

Please sign in to comment.