Skip to content

Commit 837d300

Browse files
committed
new approach to coverage
1 parent f574370 commit 837d300

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.travis.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@ matrix:
55
- python: 2.7
66
env:
77
- COVERAGE=false
8-
- ARGS="--cov --verbose"
8+
- ARGS="--verbose"
99
- python: 3.4
1010
env:
1111
- COVERAGE=false
12-
- ARGS="--mpl --cov --verbose"
12+
- ARGS="--mpl --verbose"
1313
- python: 3.5
1414
env:
1515
- COVERAGE=false
16-
- ARGS="--mpl --cov --verbose"
16+
- ARGS="--mpl --verbose"
1717
- python: 3.5
1818
env:
1919
- COVERAGE=true
20-
- ARGS="--mpl --cov --verbose"
20+
- ARGS="--mpl --verbose"
2121

2222
before_install:
2323

@@ -46,4 +46,8 @@ script:
4646
- python check_probscale.py ${ARGS}
4747

4848
after_success:
49-
- if [ ${COVERAGE} = true ]; then coveralls; fi
49+
- if [ ${COVERAGE} = true ]; then
50+
coverage run --source probscale check_probscale.py;
51+
coverage report -m;
52+
coveralls;
53+
fi

0 commit comments

Comments
 (0)