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 envlist = py26,py27,py32,py33,py34,pypy
[testenv] [testenv]
sitepackages=True
deps = deps =
pytest pytest
pytest-cov coverage
lxml lxml
pyquery pyquery
cairosvg cairosvg
setenv =
COVERAGE_FILE=.cov-{envname}
commands = commands =
coverage erase coverage run --source=pygal {envbindir}/py.test pygal/test --junitxml=junit-{envname}.xml
py.test --junitxml=junit-{envname}.xml --cov pygal pygal/test
coverage xml -o coverage-{envname}.xml coverage xml -o coverage-{envname}.xml

Loading…
Cancel
Save