From bcc09383e733c89b3174b86232244861a7682e80 Mon Sep 17 00:00:00 2001 From: Mark Underseth Date: Thu, 4 Jan 2018 15:29:30 +0000 Subject: [PATCH] push code coverage --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index e063eadc..ed94f387 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,12 +25,14 @@ before_install: install: pip install -U tox script: - if [[ "${TOX_ENV}" =~ ^py ]] ; then - tox -e $TOX_ENV -- --junit-xml=testresults.xml; + tox -e $TOX_ENV -- --junit-xml=testresults.xml --cov-report=xml; else tox -e $TOX_ENV; fi after_script: - - if [[ "${TOX_ENV}" =~ ^py ]] ; then + - if [[ "${TOX_ENV}" = "py35" ]] ; then + testspace [${TOX_ENV}]testresults.xml{tests} [${TOX_ENV}]coverage.xml; + elif [[ "${TOX_ENV}" =~ ^py ]] ; then testspace [${TOX_ENV}]testresults.xml{tests}; fi deploy: