Skip to content

Commit

Permalink
dump xunit for py2/py3 targets
Browse files Browse the repository at this point in the history
  • Loading branch information
mmerickel committed Feb 21, 2015
1 parent a9282da commit d476e69
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
envlist =
py26,py27,py32,py33,py34,pypy,pypy3,
{py2,py3}-docs
{py2,py3}-docs,
{py2,py3}-cover,coverage

[testenv]
Expand All @@ -25,15 +25,15 @@ commands =
[testenv:py2-cover]
commands =
pip install pyramid[testing]
coverage run --source=pyramid {envbindir}/nosetests --with-xunit --xunit-file=nosetests-py2.xml {posargs:}
coverage run --source=pyramid {envbindir}/nosetests
coverage xml -o coverage-py2.xml
setenv =
COVERAGE_FILE=.coverage.py2

[testenv:py3-cover]
commands =
pip install pyramid[testing]
coverage run --source=pyramid {envbindir}/nosetests --with-xunit --xunit-file=nosetests-py3.xml {posargs:}
coverage run --source=pyramid {envbindir}/nosetests
coverage xml -o coverage-py3.xml
setenv =
COVERAGE_FILE=.coverage.py3
Expand Down

0 comments on commit d476e69

Please sign in to comment.