Skip to content

Commit

Permalink
Merge pull request #73 from mgeisler/tox-xml-coverage
Browse files Browse the repository at this point in the history
tox: generate XML coverage report
  • Loading branch information
larsbutler committed Mar 31, 2014
2 parents 1c4a03c + 5970350 commit 8978cd1
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ envlist = py27, py3, pep8, pyflakes, full, doc

[testenv]
deps = -r{toxinidir}/test-requirements.txt
commands = py.test --doctest-modules --cov-report term-missing --cov zpmlib zpmlib
commands = py.test \
--doctest-modules \
--cov-report term-missing \
--cov zpmlib \
zpmlib

[testenv:py3]
# This is normally a link to python3.2 or python3.3
Expand All @@ -18,7 +22,13 @@ deps = pyflakes
commands = pyflakes zpm setup.py zpmlib

[testenv:full]
commands = py.test --doctest-modules --cov-report html --junit-xml junit.xml --cov zpmlib zpmlib
commands = py.test \
--doctest-modules \
--junit-xml junit.xml \
--cov-report html \
--cov-report xml \
--cov zpmlib \
zpmlib

[testenv:doc]
basepython = python
Expand Down

0 comments on commit 8978cd1

Please sign in to comment.