Skip to content

Commit 8fe94ee

Browse files
committed
Merge pull request jplana#137 from jplana/add_coveralls
Add coveralls support
2 parents a56b502 + 538ee04 commit 8fe94ee

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,16 @@ before_install:
88
- pip install --upgrade setuptools
99

1010
# command to install dependencies
11-
install:
11+
install:
12+
- pip install coveralls
13+
- pip install coverage
1214
- python bootstrap.py
1315
- bin/buildout
1416

1517
# command to run tests
1618
script:
17-
PATH=$PATH:./etcd/bin bin/test
19+
PATH=$PATH:./etcd/bin coverage run --source=src/etcd --omit="src/etcd/tests/*" bin/test
1820

21+
after_success: coveralls
1922
# Add env var to detect it during build
2023
env: TRAVIS=True

0 commit comments

Comments
 (0)