Commit 49b65d25 authored by Paul Ganssle's avatar Paul Ganssle

Add codecov to tox and travis

parent 65c5ae1a
......@@ -56,4 +56,5 @@ install:
script: tox
after_success:
- if [[ $TOXENV == "py" ]]; then tox -e coverage; fi
- if [[ $TOXENV == "py" ]]; then tox -e coverage,codecov; fi
......@@ -25,6 +25,12 @@ commands=coverage erase
coverage report --rcfile={toxinidir}/tox.ini
coverage xml
[testenv:codecov]
description=[Only run on CI]: Upload coverage data to codecov
deps=codecov
skip_install=True
commands=codecov --file {toxworkdir}/coverage.xml
[coverage:run]
source=setuptools
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment