diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..65aaf4d --- /dev/null +++ b/.coveragerc @@ -0,0 +1,4 @@ +[run] +source = model_utils +omit = model_utils/tests/* +branch = 1 diff --git a/.travis.yml b/.travis.yml index 2efabc2..4e22c94 100644 --- a/.travis.yml +++ b/.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: diff --git a/runtests.sh b/runtests.sh index 26a6e67..a105e34 100755 --- a/runtests.sh +++ b/runtests.sh @@ -2,4 +2,4 @@ coverage erase tox -coverage html --include=model_utils/* --omit=model_utils/tests/* +coverage html diff --git a/tox.ini b/tox.ini index a66923b..8ced4ea 100644 --- a/tox.ini +++ b/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