test_ok1/tox.ini

69 lines
1.3 KiB
INI
Raw Normal View History

[tox]
distshare={homedir}/.tox/distshare
envlist=py26,py27,py31,py32,py27-xdist,py25,py24
indexserver=
default = http://pypi.testrun.org
pypi = http://pypi.python.org/simple
2010-07-02 21:26:03 +08:00
[testenv]
changedir=testing
commands= py.test -rfsxX --junitxml={envlogdir}/junit-{envname}.xml []
deps=
2010-11-09 00:36:45 +08:00
:pypi:pexpect
:pypi:nose
[testenv:genscript]
changedir=.
commands= py.test --genscript=pytest1
2010-11-24 00:21:34 +08:00
deps=py>=1.4.0a2
[testenv:py27-xdist]
changedir=.
basepython=python2.7
deps=pytest-xdist
commands=
py.test -n3 -rfsxX \
--junitxml={envlogdir}/junit-{envname}.xml []
[testenv:doctest]
changedir=.
commands=py.test --doctest-modules _pytest
deps=
[testenv:doc]
basepython=python
changedir=doc
2010-11-09 00:36:45 +08:00
deps=:pypi:sphinx
pytest
commands=
make html
[testenv:py31]
2010-11-24 00:21:34 +08:00
deps=py>=1.4.0a2
[testenv:py31-xdist]
deps=pytest-xdist
commands=
py.test -n3 -rfsxX \
--junitxml={envlogdir}/junit-{envname}.xml []
[testenv:py32]
2010-11-24 00:21:34 +08:00
deps=py>=1.4.0a2
[testenv:pypy]
basepython=pypy-c
2010-07-02 01:43:46 +08:00
[testenv:jython]
changedir=testing
commands=
{envpython} {envbindir}/py.test-jython --no-tools-on-path \
-rfsxX --junitxml={envlogdir}/junit-{envname}2.xml [acceptance_test.py plugin]
[pytest]
minversion=2.0
plugins=pytester
addopts= -rxf --pyargs --doctest-modules
rsyncdirs=tox.ini pytest.py _pytest testing