Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Commit

Permalink
Move coverage config to .coveragerc
Browse files Browse the repository at this point in the history
Allows reporting config to be picked up by coveralls.
  • Loading branch information
robyoung committed Jun 25, 2013
1 parent 0888dc7 commit cfc488c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[run]
source = backdrop

[report]
include = backdrop/*
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ services: mongodb
install: "pip install -q -r requirements_for_tests.txt --use-mirrors"
# command to run tests
script:
- nosetests --with-coverage --cover-package=backdrop --cover-inclusive
- coverage report -m --include='backdrop/*'
- nosetests --with-coverage --cover-inclusive
- behave
- ./pep-it.sh
after_script:
Expand Down

0 comments on commit cfc488c

Please sign in to comment.