summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Lavagetto <lavagetto@users.noreply.github.com>2015-11-01 14:58:41 +0100
committerGiuseppe Lavagetto <lavagetto@users.noreply.github.com>2015-11-01 14:58:41 +0100
commit8fe94ee4174dec8fcf32bbc550e10ea19b628879 (patch)
treefa793ff587b4d9d3668f942df01d010ceab27da4
parenta56b502d648423f75c8885cbe9e6ce601bec3cee (diff)
parent538ee04f91af927a1c7015dce8d1310299996e18 (diff)
Merge pull request #137 from jplana/add_coveralls
Add coveralls support
-rw-r--r--.travis.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 1538059..2c3ba50 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