Tidy up coverage to use a .coveragerc file instead of having it .travis.yml

This commit is contained in:
Tom Price
2016-07-11 12:34:51 +01:00
parent 021edfd39d
commit 190825f5ef
2 changed files with 7 additions and 1 deletions

6
.coveragerc Normal file
View File

@@ -0,0 +1,6 @@
[run]
source =
./
omit =
*/migrations/*

View File

@@ -14,7 +14,7 @@ before_script:
- python manage.py collectstatic --noinput - python manage.py collectstatic --noinput
script: script:
- coverage run --include=PyRIGS/*.*,RIGS/*.* --omit=*/migrations/* manage.py test RIGS - coverage run manage.py test RIGS
after_success: after_success:
- coveralls - coveralls