From f1175f1d3b8a67f51f2f2b23afd74a8cd62f2f41 Mon Sep 17 00:00:00 2001 From: Neal Todd Date: Mon, 17 Feb 2014 16:30:39 +0000 Subject: [PATCH] Integrate Coveralls reporting into Travis CI --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3ae77723c1..98d7172f8c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,11 +13,15 @@ services: install: - python setup.py install - pip install psycopg2 pyelasticsearch elasticutils + - pip install coveralls # Pre-test configuration before_script: - psql -c 'create database wagtaildemo;' -U postgres # Run the tests -script: python runtests.py +script: + coverage run --source=wagtail python runtests.py +after_success: + coveralls # Who to notify about build results notifications: email: