summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2017-06-11 15:00:00 +0200
committerJelle van der Waa <jelle@vdwaa.nl>2017-06-11 18:43:10 +0200
commit2ddb51512bf9e5d870ba8fa5926e269a7d09f0a5 (patch)
treedbf0a202792a6a93c20aaa421fed60613ef1d769 /.travis.yml
parent6b901ca5c2385f1375865b3a0b7d7f652e7e3543 (diff)
downloadarchweb-2ddb51512bf9e5d870ba8fa5926e269a7d09f0a5.tar.gz
archweb-2ddb51512bf9e5d870ba8fa5926e269a7d09f0a5.zip
Move coverage configuration to .coverage
Introduce a .coveragerc file to omit multiple files from test coverage such as django's migrations, env and the tests itself.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 4757641f..9fdb9a94 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,7 +5,7 @@ install: "pip install -r requirements.txt && pip install coveralls"
script:
- python manage.py collectstatic --noinput
- - coverage run --omit='env*' --source='.' manage.py test
+ - coverage run --rcfile .coveragerc manage.py test
after_success:
- coveralls