Skip to content

Commit fc82e14

Browse files
committed
add coverall to the travis ci builds
1 parent 4605769 commit fc82e14

2 files changed

Lines changed: 26 additions & 5 deletions

File tree

.coveragerc

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
[run]
2+
branch = True
3+
source = enable, kiva
4+
omit = */tests/*
5+
6+
[report]
7+
# Regexes for lines to exclude from consideration
8+
exclude_lines =
9+
# Have to re-enable the standard pragma
10+
pragma: no cover
11+
12+
# Don't complain about missing debug-only code:
13+
def __repr__
14+
15+
# Don't complain if tests don't hit defensive assertion code:
16+
raise AssertionError
17+
raise NotImplementedError
18+
19+
if __name__ == .__main__.:
20+
21+
ignore_errors = True

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ install:
2020
# Test against the current master of traits and traitsui
2121
- pip install git+http://github.com/enthought/traits.git#egg=traits
2222
- pip install git+http://github.com/enthought/traitsui.git#egg=traitsui
23+
- pip install coverage
24+
- pip install coveralls
2325
- python setup.py develop
2426
script:
25-
- nosetests -v enable/tests
26-
- nosetests -v enable/savage/svg/tests
27-
- nosetests -v kiva/agg/tests
28-
- nosetests -v kiva/tests
29-
notifications:
27+
- coverage run -m nose.core -v
3028
email:
3129
- travis-ci@enthought.com
30+
after_success:
31+
coveralls

0 commit comments

Comments
 (0)