push code coverage

This commit is contained in:
Mark Underseth 2018-01-04 15:29:30 +00:00
parent ff93e067ba
commit bcc09383e7

View File

@ -25,12 +25,14 @@ before_install:
install: pip install -U tox install: pip install -U tox
script: script:
- if [[ "${TOX_ENV}" =~ ^py ]] ; then - 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 else
tox -e $TOX_ENV; tox -e $TOX_ENV;
fi fi
after_script: 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}; testspace [${TOX_ENV}]testresults.xml{tests};
fi fi
deploy: deploy: