2010-07-05 21:55:21 +08:00
|
|
|
[tox]
|
|
|
|
distshare={homedir}/.tox/distshare
|
2010-07-07 18:41:15 +08:00
|
|
|
envlist=py26,py27,py31,py27-xdist,py25,py24
|
2010-07-05 21:55:21 +08:00
|
|
|
|
|
|
|
[tox:hudson]
|
|
|
|
distshare={toxworkdir}/distshare
|
2010-07-08 00:08:16 +08:00
|
|
|
sdistsrc={distshare}/py-*
|
2010-07-05 21:55:21 +08:00
|
|
|
|
2010-07-02 21:26:03 +08:00
|
|
|
[testenv]
|
2010-07-29 17:22:16 +08:00
|
|
|
changedir=testing
|
2010-07-03 20:29:43 +08:00
|
|
|
commands=
|
2010-07-29 17:22:16 +08:00
|
|
|
py.test -rfsxX --junitxml={envlogdir}/junit-{envname}.xml --tools-on-path []
|
2010-07-30 21:05:24 +08:00
|
|
|
deps=
|
2010-07-05 21:55:21 +08:00
|
|
|
pexpect
|
2010-07-05 04:13:12 +08:00
|
|
|
[testenv:py27]
|
|
|
|
basepython=python2.7
|
2010-07-07 18:41:15 +08:00
|
|
|
[testenv:py27-xdist]
|
|
|
|
basepython=python2.7
|
|
|
|
deps=
|
2010-07-08 00:08:16 +08:00
|
|
|
{distshare}/py-*
|
|
|
|
{distshare}/pytest-xdist-*
|
2010-07-07 18:41:15 +08:00
|
|
|
commands=
|
2010-07-29 17:22:16 +08:00
|
|
|
py.test -n3 -rfsxX \
|
2010-07-07 18:41:15 +08:00
|
|
|
--junitxml={envlogdir}/junit-{envname}.xml --tools-on-path []
|
|
|
|
|
2010-07-01 23:59:35 +08:00
|
|
|
[testenv:py26]
|
2010-07-02 21:26:03 +08:00
|
|
|
basepython=python2.6
|
2010-07-04 19:56:03 +08:00
|
|
|
[testenv:doc]
|
|
|
|
basepython=python
|
2010-07-07 21:41:28 +08:00
|
|
|
changedir={toxinidir}
|
2010-07-29 17:22:16 +08:00
|
|
|
deps=docutils
|
2010-07-04 19:56:03 +08:00
|
|
|
pygments
|
2010-07-08 00:08:16 +08:00
|
|
|
{distshare}/py-*
|
|
|
|
{distshare}/pytest-xdist-*
|
2010-07-29 17:22:16 +08:00
|
|
|
pytest-figleaf
|
2010-07-07 21:41:28 +08:00
|
|
|
pytest-coverage
|
|
|
|
pytest-cov
|
2010-07-29 17:22:16 +08:00
|
|
|
pytest-capturelog
|
2010-07-30 21:05:24 +08:00
|
|
|
|
2010-07-29 17:22:16 +08:00
|
|
|
commands=
|
|
|
|
{envpython} bin-for-dist/makepluginlist.py
|
|
|
|
py.test [doc] -rsfxX --junitxml={envlogdir}/junit-{envname}s.xml --forcegen
|
2010-07-01 23:59:35 +08:00
|
|
|
[testenv:py25]
|
2010-07-02 21:26:03 +08:00
|
|
|
basepython=python2.5
|
2010-07-01 23:59:35 +08:00
|
|
|
[testenv:py24]
|
2010-07-02 21:26:03 +08:00
|
|
|
basepython=python2.4
|
2010-07-01 23:59:35 +08:00
|
|
|
[testenv:py31]
|
2010-07-02 21:26:03 +08:00
|
|
|
basepython=python3.1
|
2010-07-04 19:56:03 +08:00
|
|
|
deps=
|
2010-07-01 23:59:35 +08:00
|
|
|
#[testenv:pypy]
|
|
|
|
#python=pypy-c
|
2010-07-02 01:43:46 +08:00
|
|
|
[testenv:jython]
|
2010-07-02 01:46:22 +08:00
|
|
|
changedir=testing
|
2010-07-02 21:26:03 +08:00
|
|
|
basepython=jython
|
2010-07-03 20:29:43 +08:00
|
|
|
commands=
|
2010-07-29 17:22:16 +08:00
|
|
|
{envpython} {envbindir}/py.test-jython \
|
2010-07-06 18:04:22 +08:00
|
|
|
-rfsxX --junitxml={envlogdir}/junit-{envname}1.xml [io_ code]
|
2010-07-29 17:22:16 +08:00
|
|
|
{envpython} {envbindir}/py.test-jython \
|
2010-07-06 18:04:22 +08:00
|
|
|
-rfsxX --junitxml={envlogdir}/junit-{envname}2.xml acceptance_test.py plugin
|