Support coverage reporting via coverage.io. refs #623
authorDaira Hopwood <daira@jacaranda.org>
Mon, 1 Sep 2014 14:29:13 +0000 (15:29 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Mon, 1 Sep 2014 14:29:13 +0000 (15:29 +0100)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
.travis.yml

index fd341fbf33f4e7c3c8115a5835cb3b8f8b19562f..093e8e977f0895a5de12cf9c27371941f9be882a 100644 (file)
@@ -4,9 +4,12 @@ python:
   - "2.6"
 before_install:
   - sh -c set
-install: true
+install:
+  - pip install 'coveralls==0.4.2'
 before_script: python misc/build_helpers/show-tool-versions.py
-script: python setup.py test --reporter=timing
+script: coverage run --branch --source=allmydata setup.py test --reporter=timing
+after_success:
+  coveralls
 notifications:
   email: false
   irc: