summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
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 =