Skip to content

Commit

Permalink
Switched to --cover-inclusive and added .coveragerc to ignore other m…
Browse files Browse the repository at this point in the history
…odules.
  • Loading branch information
fdChasm committed Feb 25, 2014
1 parent d6c3517 commit 0f18cc2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[run]
branch = True
omit = *cube2common*, *cube2protocol*, *cube2demo*, *twisted*, *txCarbonClient*, *uuid*, *zope/interface*, *simplejson*, *contextlib*, *ctypes*, *decimal*, *encodings*, *mock*, *numbers*, */json/__init__.py, *json/decoder*, *json/encoder*, *json/scanner*, *pty.py, *tty.py
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ install:
- "pip install -r requirements.txt"
script:
- "export PYTHONPATH=$(pwd)/src"
- "nosetests -w ./tests --with-coverage --cover-package='spyd,txENet,cube2map'"
- "nosetests -w ./tests --with-coverage --cover-inclusive"
after_success:
coveralls

0 comments on commit 0f18cc2

Please sign in to comment.