Skip to content

Commit

Permalink
switched to pytest for code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Thore Goll committed Feb 22, 2018
1 parent ac1afe7 commit 1196cb7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[report]
exclude_lines =
if self.debug:
pragma: no cover
raise NotImplementedError
if __name__ == .__main__.:
ignore_errors = True

[run]
source = ShutTUM
omit =
tests/*
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ python:
- '3.6'
install:
- python setup.py install
script: nosetests
script: pytest --cov=./
before_install: pip install codecov
after_success: codecov
deploy:
Expand Down

0 comments on commit 1196cb7

Please sign in to comment.