From 61371a31df3c89afe1f7b51ac6fd7e94f3fc49f4 Mon Sep 17 00:00:00 2001
From: Daira Hopwood <daira@jacaranda.org>
Date: Mon, 1 Sep 2014 15:29:13 +0100
Subject: [PATCH] Support coverage reporting via coverage.io. refs #623

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
---
 .travis.yml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index fd341fbf..093e8e97 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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:
-- 
2.45.2