Skip to content

Commit 0ab90b3

Browse files
committed
Integrate with codecov for coverage tracking
1 parent 8d38b95 commit 0ab90b3

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.coveragerc

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[run]
2+
omit = package_template/tests/*

.travis.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ python:
77
- "3.5"
88
- "3.4"
99
- "2.7"
10-
# Install any dependencies of our package:
11-
install: pip install requests
10+
# Install any dependencies for running the tests:
11+
install: pip install codecov pytest-cov
1212
# command to run tests
13-
script: py.test
13+
script: py.test --cov=package_template --cov-config .coveragerc
14+
after_success:
15+
codecov

0 commit comments

Comments
 (0)