Travis: use last TOXENV for PATH

This commit is contained in:
Daniel Hahler 2018-11-11 22:08:45 +01:00
parent 9628242423
commit 74366426b9
1 changed files with 2 additions and 2 deletions

View File

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