test_ok2/tox.ini

48 lines
924 B
INI
Raw Normal View History

[tox]
distshare={homedir}/.tox/distshare
envlist=py26,py27,py31,py27-xdist,py25,py24
2010-07-02 21:26:03 +08:00
[testenv]
indexserver=http://pypi.testrun.org
changedir=testing
commands= py.test -rfsxX --junitxml={envlogdir}/junit-{envname}.xml []
deps=
pylib
#pexpect XXX
#nose XXX
[testenv:py27-xdist]
basepython=python2.7
deps= pylib
pytest-xdist
commands=
py.test -n3 -rfsxX \
--junitxml={envlogdir}/junit-{envname}.xml []
[testenv:doc]
basepython=python
changedir=doc
deps=sphinx
pylib
pytest-xdist
commands=
make html
[testenv:py31]
deps=pylib
[testenv:py32]
deps=pylib
[testenv:pypy]
basepython=pypy-c
2010-07-02 01:43:46 +08:00
[testenv:jython]
changedir=testing
commands=
{envpython} {envbindir}/py.test-jython \
2010-07-06 18:04:22 +08:00
-rfsxX --junitxml={envlogdir}/junit-{envname}1.xml [io_ code]
{envpython} {envbindir}/py.test-jython \
2010-07-06 18:04:22 +08:00
-rfsxX --junitxml={envlogdir}/junit-{envname}2.xml acceptance_test.py plugin