Permalink
Browse files

change coverage tool to nose-cov and configure exclude modules

  • Loading branch information...
thomasleveil committed Mar 31, 2015
1 parent 5f2da5b commit 49101e7cd1ff91293be5c2530d9d501f73c9f712
Showing with 8 additions and 2 deletions.
  1. +6 −0 .coveragerc
  2. +1 −1 .travis.yml
  3. +1 −1 test-requirements.txt
@@ -0,0 +1,6 @@
[run]
omit =
tests/*
b3/lib/*
b3/tools/*
b3/fake
@@ -24,7 +24,7 @@ before_script:
# command to run tests, e.g. python setup.py test
script:
- nosetests --where=tests --verbosity=3 --with-coverage --cover-package=b3 --cover-xml
- nosetests --where=tests --verbosity=3 --with-cov --cov b3 --cov-report term-missing --cov-config .coveragerc
- python setup.py egg_info --tag-build .dev${TRAVIS_COMMIT:0:7} --tag-date sdist bdist_wheel
- python setup.py build_exe
@@ -2,7 +2,7 @@
unittest2
mockito
nose
nosexcover
nose-cov
nose-exclude
mock>=0.8
pylint

0 comments on commit 49101e7

Please sign in to comment.