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

Commit

Permalink
Integrate with coveralls coverage reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
robyoung committed Jun 26, 2013
1 parent 77fee6c commit c4ea8f9
Show file tree
Hide file tree
Showing 3 changed files with 13 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/*
9 changes: 7 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,14 @@ python:
# Need mongodb for testing
services: mongodb
# command to install dependencies
install: "pip install -r requirements_for_tests.txt --use-mirrors"
install: "pip install -q -r requirements_for_tests.txt --use-mirrors"
# command to run tests
script: nosetests && behave && ./pep-it.sh
script:
- nosetests --with-coverage --cover-inclusive
- behave
- ./pep-it.sh
after_script:
- coveralls
branches:
except:
- master
Expand Down
1 change: 1 addition & 0 deletions requirements_for_tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
argcomplete==0.4.0
behave==1.2.2
coverage==3.6
coveralls
mock==1.0.1
nose==1.3.0
pep8==1.4.5
Expand Down

0 comments on commit c4ea8f9

Please sign in to comment.