Create XML coverage report (for Jenkins).
This commit is contained in:
parent
98c98ddfab
commit
24345fd348
1 changed files with 1 additions and 0 deletions
1
tox.ini
1
tox.ini
|
@ -4,6 +4,7 @@ envlist = py27, py35
|
||||||
[testenv]
|
[testenv]
|
||||||
commands =
|
commands =
|
||||||
{envbindir}/py.test --cov=dosage --cov=dosagelib --tb=short -n4 \
|
{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}
|
--junitxml={toxworkdir}/junit-{envname}.xml {posargs}
|
||||||
- {envbindir}/flake8
|
- {envbindir}/flake8
|
||||||
passenv = TRAVIS
|
passenv = TRAVIS
|
||||||
|
|
Loading…
Reference in a new issue