push code coverage
This commit is contained in:
parent
ff93e067ba
commit
bcc09383e7
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user