Travis: use last TOXENV for PATH
This commit is contained in:
parent
9628242423
commit
74366426b9
|
@ -89,8 +89,8 @@ after_success:
|
||||||
- |
|
- |
|
||||||
if [[ "$PYTEST_NO_COVERAGE" != 1 ]]; then
|
if [[ "$PYTEST_NO_COVERAGE" != 1 ]]; then
|
||||||
set -e
|
set -e
|
||||||
# Add first TOXENV to $PATH.
|
# Add last TOXENV to $PATH.
|
||||||
PATH="$PWD/.tox/${TOXENV%%,*}/bin:$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