From 538ee04f91af927a1c7015dce8d1310299996e18 Mon Sep 17 00:00:00 2001 From: Giuseppe Lavagetto Date: Sun, 1 Nov 2015 14:29:06 +0100 Subject: [PATCH] Add coveralls support --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 15380592..2c3ba505 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,13 +8,16 @@ before_install: - pip install --upgrade setuptools # command to install dependencies -install: +install: + - pip install coveralls + - pip install coverage - python bootstrap.py - bin/buildout # command to run tests script: - PATH=$PATH:./etcd/bin bin/test + PATH=$PATH:./etcd/bin coverage run --source=src/etcd --omit="src/etcd/tests/*" bin/test +after_success: coveralls # Add env var to detect it during build env: TRAVIS=True