Create XML coverage report (for Jenkins).

This commit is contained in:
Tobias Gruetzmacher 2016-10-01 01:27:10 +02:00
parent 98c98ddfab
commit 24345fd348

View file

@ -4,6 +4,7 @@ envlist = py27, py35
[testenv]
commands =
{envbindir}/py.test --cov=dosage --cov=dosagelib --tb=short -n4 \
--cov-report=xml:{toxworkdir}/cov-{envname}.xml --cov-report=term \
--junitxml={toxworkdir}/junit-{envname}.xml {posargs}
- {envbindir}/flake8
passenv = TRAVIS