Travis: use coverage from existing tox env [skip appveyor]

This commit is contained in:
Daniel Hahler 2018-11-10 23:53:47 +01:00
parent 7ab3d818f0
commit 825085f699
1 changed files with 2 additions and 1 deletions

View File

@ -88,7 +88,8 @@ after_success:
- |
if [[ "$PYTEST_NO_COVERAGE" != 1 ]]; then
set -e
pip install coverage
# Add first TOXENV to $PATH.
PATH="$PWD/.tox/${TOXENV%%,*}/bin:$PATH"
coverage combine
coverage xml --ignore-errors
coverage report -m --ignore-errors