Travis: use coverage from existing tox env [skip appveyor]
This commit is contained in:
parent
7ab3d818f0
commit
825085f699
|
@ -88,7 +88,8 @@ after_success:
|
||||||
- |
|
- |
|
||||||
if [[ "$PYTEST_NO_COVERAGE" != 1 ]]; then
|
if [[ "$PYTEST_NO_COVERAGE" != 1 ]]; then
|
||||||
set -e
|
set -e
|
||||||
pip install coverage
|
# Add first TOXENV to $PATH.
|
||||||
|
PATH="$PWD/.tox/${TOXENV%%,*}/bin:$PATH"
|
||||||
coverage combine
|
coverage combine
|
||||||
coverage xml --ignore-errors
|
coverage xml --ignore-errors
|
||||||
coverage report -m --ignore-errors
|
coverage report -m --ignore-errors
|
||||||
|
|
Loading…
Reference in New Issue