Browse Source

Improve tox.ini

pull/185/head
Florian Mounier 10 years ago
parent
commit
53a9519a49
  1. 9
      tox.ini

9
tox.ini

@ -2,15 +2,16 @@
envlist = py26,py27,py32,py33,py34,pypy
[testenv]
sitepackages=True
deps =
pytest
pytest-cov
coverage
lxml
pyquery
cairosvg
setenv =
COVERAGE_FILE=.cov-{envname}
commands =
coverage erase
py.test --junitxml=junit-{envname}.xml --cov pygal pygal/test
coverage run --source=pygal {envbindir}/py.test pygal/test --junitxml=junit-{envname}.xml
coverage xml -o coverage-{envname}.xml

Loading…
Cancel
Save