Skip to content

Commit

Permalink
Hopefully fix coverage measurement.
Browse files Browse the repository at this point in the history
  • Loading branch information
ionelmc committed Feb 1, 2014
1 parent fca398c commit c41fe60
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[run]
source = src
source = prefetch
omit = *migrations*
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ before_install:
sudo pip install tox
script: tox -v -e $TRAVIS_PYTHON_VERSION-$DJANGO_VERSION
after_success:
- coverage combine || true
- coverage report --show-missing --include='src/*' || true
- coveralls || true
- .tox/$TRAVIS_PYTHON_VERSION-$DJANGO_VERSION/bin/coveralls
notifications:
email:
on_success: never
Expand Down
3 changes: 3 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ setenv =
commands =
coverage erase
coverage run --branch {envbindir}/django-admin.py test test_app -v 2 --traceback
coverage combine
coverage report --show-missing

[base]
deps =
coverage
Expand Down

0 comments on commit c41fe60

Please sign in to comment.