Skip to content

Commit

Permalink
Write coverage report to standard location.
Browse files Browse the repository at this point in the history
  • Loading branch information
mhvk committed Feb 5, 2020
1 parent e5664b7 commit deeefe6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ install:
sudo apt-get install -y --no-install-recommends ${APT_DEPENDENCIES};
fi

- if [[ $TOXENV == *-cov ]]; then
export TOXPOSARGS=$TOXPOSARGS" --cov-report=xml:"$TRAVIS_BUILD_DIR"/coverage.xml";
fi

script:
- if [[ $INSTALL_WITH_APT != True ]]; then
tox $TOXARGS -- $TOXPOSARGS;
Expand Down

0 comments on commit deeefe6

Please sign in to comment.