Skip to content

Commit 23893e7

Browse files
authored
Use Codecov for coverage measurement (#913)
* install codecov * upload to codecov
1 parent f35d0a4 commit 23893e7

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,16 @@ before_script: # configure a headless display to test plot generation
3737
script:
3838
- cd qcodes
3939
- py.test --cov=qcodes --cov-report xml --cov-config=.coveragerc
40+
# build docs with warnings as errors
4041
- |
4142
cd ../docs
4243
make SPHINXOPTS="-W" html-api
4344
- cd ..
4445

4546
after_success:
46-
# install dependencies for docs build
47+
# upload code coverage
4748
- python-codacy-coverage -r qcodes/coverage.xml
49+
- codecov
4850
# upload the docs
4951
- |
5052
if [[ $TRAVIS_REPO_SLUG == "QCoDeS/Qcodes" && $TRAVIS_BRANCH == "master" && $TRAVIS_PULL_REQUEST == "false" ]]; then

test_requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ codacy-coverage
55
hypothesis
66
pyvisa-sim
77
lxml
8+
codecov

0 commit comments

Comments
 (0)