Skip to content

Commit

Permalink
Move from coverage package to nose-cov due to usage of .coveragerc
Browse files Browse the repository at this point in the history
  • Loading branch information
ivadim committed Sep 21, 2014
1 parent b310986 commit 37d2b01
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,10 @@
omit =
*/python?.?/*
*/site-packages/nose/*

exclude_lines =
pragma: no cover
def __repr__
raise AssertionError
raise NotImplementedError
if __name__ == .__main__.:
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ python:
install:
- pip install -r tests-requirements.txt
script:
nosetests --with-coverage --cover-erase --cover-package=movies
nosetests --with-cov --cov movies
after_success:
coveralls
2 changes: 1 addition & 1 deletion tests-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
nose
coverage
nose-cov
HTTPretty
coveralls

0 comments on commit 37d2b01

Please sign in to comment.