summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorMarkus Holtermann <info@markusholtermann.eu>2013-01-24 23:34:20 +0100
committerMarkus Holtermann <info@markusholtermann.eu>2013-01-24 23:34:20 +0100
commit44c7a2575d2363c4b45f389a0bb2251e2f2f6685 (patch)
tree92668b3d4f01334d596a63ac2a7886fa5054dc21 /.travis.yml
parent3db48dfd834531d8d66751dfc7ff7bd289f2ef0d (diff)
downloadbvg-grabber-44c7a2575d2363c4b45f389a0bb2251e2f2f6685.tar.gz
bvg-grabber-44c7a2575d2363c4b45f389a0bb2251e2f2f6685.tar.bz2
bvg-grabber-44c7a2575d2363c4b45f389a0bb2251e2f2f6685.zip
Add coverage for travis
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index b4a1dad..8b9a2e1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,6 +3,8 @@ python:
- "3.2"
- "3.3"
# command to install dependencies
-install: "pip install -r requirements.txt --use-mirrors"
+install:
+ - pip install -r requirements.txt --use-mirrors
+ - pip install coverage
# command to run tests
-script: python -m unittest tests
+script: coverage run -m unittest -v tests/test_*.py && coverage report -m