mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Tidy up coverage to use a .coveragerc file instead of having it .travis.yml
This commit is contained in:
6
.coveragerc
Normal file
6
.coveragerc
Normal file
@@ -0,0 +1,6 @@
|
||||
[run]
|
||||
source =
|
||||
./
|
||||
|
||||
omit =
|
||||
*/migrations/*
|
||||
@@ -14,7 +14,7 @@ before_script:
|
||||
- python manage.py collectstatic --noinput
|
||||
|
||||
script:
|
||||
- coverage run --include=PyRIGS/*.*,RIGS/*.* --omit=*/migrations/* manage.py test RIGS
|
||||
- coverage run manage.py test RIGS
|
||||
|
||||
after_success:
|
||||
- coveralls
|
||||
|
||||
Reference in New Issue
Block a user