|
|
|
@ -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 |
|
|
|
|