Permalink
Browse files

Move coverage configuration into .coveragerc

  • Loading branch information...
1 parent 3ec8a90 commit 69831092b2b368b29178486036e2d6655313763d @treyhunner treyhunner committed May 21, 2013
Showing with 7 additions and 3 deletions.
  1. +4 −0 .coveragerc
  2. +1 −1 .travis.yml
  3. +1 −1 runtests.sh
  4. +1 −1 tox.ini
View
4 .coveragerc
@@ -0,0 +1,4 @@
+[run]
+source = model_utils
+omit = model_utils/tests/*
+branch = 1
View
2 .travis.yml
@@ -16,7 +16,7 @@ install:
- sh -c "if [ '$SOUTH' = '1' ]; then pip install South==0.7.6; fi"
script:
- - coverage run -a --branch --include="model_utils/*" --omit="model_utils/tests/*" setup.py test
+ - coverage run -a setup.py test
- coverage report
matrix:
View
2 runtests.sh
@@ -2,4 +2,4 @@
coverage erase
tox
-coverage html --include=model_utils/* --omit=model_utils/tests/*
+coverage html
View
2 tox.ini
@@ -9,7 +9,7 @@ envlist =
deps =
South == 0.7.6
coverage == 3.6
-commands = coverage run -a --branch setup.py test
+commands = coverage run -a setup.py test
[testenv:py26-1.4]
basepython = python2.6

0 comments on commit 6983109

Please sign in to comment.