diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2017-06-11 15:00:00 +0200 |
---|---|---|
committer | Jelle van der Waa <jelle@vdwaa.nl> | 2017-06-11 18:43:10 +0200 |
commit | 2ddb51512bf9e5d870ba8fa5926e269a7d09f0a5 (patch) | |
tree | dbf0a202792a6a93c20aaa421fed60613ef1d769 /.travis.yml | |
parent | 6b901ca5c2385f1375865b3a0b7d7f652e7e3543 (diff) | |
download | archweb-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.yml | 2 |
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 |