Skip to content

Commit

Permalink
Added Coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasRychtecky committed Jan 1, 2017
1 parent 5db98ef commit 46d6c6e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[run]
source = chamber
omit = */site-packages/*,*/migrations/*,*/lib/*
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,7 @@ install:

# command to run tests
script:
coverage run --omit */site-packages/*,*/migrations/*,*/lib/* manage.py test test_chamber.tests --settings=dj.settings.settings -v 2
coverage run --rcfile=$(pwd)/../.coveragerc manage.py test test_chamber.tests --settings=dj.settings.settings -v 2

after_success:
coveralls
1 change: 1 addition & 0 deletions example/requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ https://github.com/LukasRychtecky/germanium/tarball/1.0.12#egg=germanium-1.0.12
six==1.10.0
coverage==4.0.2
pyprind==2.9.9
coveralls==1.1

0 comments on commit 46d6c6e

Please sign in to comment.