Merge pull request #4368 from blueyed/toxenv-coverage
Travis: use coverage from existing tox env [skip appveyor]
This commit is contained in:
commit
7b833ce5f9
|
@ -89,7 +89,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
|
||||
|
|
Loading…
Reference in New Issue