Skip to content

Commit

Permalink
Add coveralls support
Browse files Browse the repository at this point in the history
  • Loading branch information
lavagetto committed Nov 1, 2015
1 parent a56b502 commit 538ee04
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 538ee04

Please sign in to comment.