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
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: