From 24345fd348465d9d8f3b3029fcdd427264af3cdf Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Sat, 1 Oct 2016 01:27:10 +0200 Subject: [PATCH] Create XML coverage report (for Jenkins). --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 069a94c0b..b2e8c5599 100644 --- a/tox.ini +++ b/tox.ini @@ -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