summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2019-07-24 20:37:47 -0500
committerMichael Merickel <michael@merickel.org>2019-07-24 20:37:47 -0500
commit0667b8eee7ce33af659f5e6e09da3b31a7f78cfd (patch)
tree9048993d211447e6df25d4cfaacd48a370cec47e /tox.ini
parenta58c8889a5be154a1e616881cabfefeee337c718 (diff)
downloadwaitress-0667b8eee7ce33af659f5e6e09da3b31a7f78cfd.tar.gz
restore the old per-language coverage filesproxy-header-middleware
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini10
1 files changed, 9 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 4c42a11..61cc9e9 100644
--- a/tox.ini
+++ b/tox.ini
@@ -6,7 +6,7 @@ envlist =
[testenv]
commands =
- nosetests --with-xunit --xunit-file=nosetests-{envname}.xml {posargs:}
+ nosetests --with-xunit --xunit-file=nosetests-{envname}.xml {posargs:waitress}
extras =
testing
@@ -22,6 +22,8 @@ extras =
[py-cover]
commands =
coverage run {envbindir}/nosetests waitress
+ coverage combine
+ coverage xml -o {envname}.xml
extras =
testing
@@ -30,10 +32,16 @@ extras =
commands =
{[py-cover]commands}
+setenv =
+ COVERAGE_FILE=.coverage.py2
+
[testenv:py35-cover]
commands =
{[py-cover]commands}
+setenv =
+ COVERAGE_FILE=.coverage.py3
+
[testenv:coverage]
basepython = python3.5
commands =