Source

py-hacks / tox.ini

[tox]
envlist=py26,py27,py31,py32,py27-xdist,py25,py24
indexserver=
    default=http://pypi.testrun.org

[testenv]
changedir=testing
commands=py.test --confcutdir=.. -rfsxX --junitxml={envlogdir}/junit-{envname}.xml []
deps=pytest>=2.0.0

[testenv:py27-xdist]
basepython=python2.7
deps=
    pytest
    pytest-xdist
commands=
  py.test -n3 -rfsxX --confcutdir=.. \
        --junitxml={envlogdir}/junit-{envname}.xml []

[testenv:jython]
changedir=testing
commands=
    {envpython} -m pytest --confcutdir=.. -rfsxX --junitxml={envlogdir}/junit-{envname}0.xml [io_ code]

[pytest]
rsyncdirs = conftest.py py doc testing
addopts = -rxXf