Skip to content

Commit

Permalink
Add coveralls to report test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Oderbolz committed Jul 22, 2015
1 parent 3d67314 commit 451c887
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[report]
omit =
*/site-packages/*
*/python?.?/*
*/tests/*
ckan/*
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ env:
install:
- bash bin/travis-build.bash
script: sh bin/travis-run.sh
after_success: coveralls
sudo: required
2 changes: 1 addition & 1 deletion bin/travis-build.bash
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ sudo -u postgres psql -c 'CREATE DATABASE datastore_test WITH OWNER ckan_default

echo "Installing ckanext-pages and its requirements..."
python setup.py develop
#pip install -r dev-requirements.txt
pip install -r dev-requirements.txt

echo "Moving test.ini into a subdir..."
mkdir subdir
Expand Down
1 change: 1 addition & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
coveralls==0.4.1

0 comments on commit 451c887

Please sign in to comment.