Skip to content

Commit

Permalink
Add coveralls support
Browse files Browse the repository at this point in the history
  • Loading branch information
JarnoRFB committed Oct 29, 2016
1 parent 3061e55 commit 0591f98
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[run]
data_file = /home/jarno/Dropbox/Biologie/Bachelorarbeit/source/django-disbi/.coverage
omit =
# Omit __init__ files.
*/__init__.py
# Omit the settings file.
settings.py
# Omit migrations.
*/migrations/*
# Omit import_export
*/_import_export/*
# Omit site-packages
*/site-packages/*
# Omit other files
*/manage.py
*/settings.py
*/tests.py
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ env:
install:
- pip install -q $DJANGO
- pip install -e git+https://github.com/disbi/django-disbi.git#egg=django-disbi
- pip install coveralls
before_script:
- psql -c 'create database disbidb;' -U postgres
database:
- postgres service
script:
- python tests/manage.py test core

- coverage run tests/manage.py test core
after_success:
coveralls

0 comments on commit 0591f98

Please sign in to comment.