From 74366426b9ea4ee15f2781a5e3d85b47a024e746 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 11 Nov 2018 22:08:45 +0100 Subject: [PATCH] Travis: use last TOXENV for PATH --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 37fc9ddec..e5e270bf2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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