Skip to content

Commit

Permalink
Travis: Ensure coverage is excluded with pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
jenshnielsen committed Jan 9, 2017
1 parent 53cb15c commit 58895af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,13 @@ install:
- pip install -e .
# command to run tests
script:
- py.test --cov=qcodes --cov-report xml
- cd qcodes
- py.test --cov=qcodes --cov-report xml --cov-config=.coveragerc

after_success:
# install codacy coverage plugin and sphinx only on traivs
- pip install codacy-coverage sphinx sphinx_rtd_theme jsonschema sphinxcontrib-jsonschema
- python-codacy-coverage -r coverage.xml
- cd ..
# build the docs
- make -f docs/Makefile gh-pages

0 comments on commit 58895af

Please sign in to comment.