use testrun indexserver, remove hudson artifact handling

--HG--
branch : trunk
This commit is contained in:
holger krekel 2010-10-15 20:35:21 +02:00
parent 5a0ef7355e
commit bf1cd25831
1 changed files with 14 additions and 20 deletions

34
tox.ini
View File

@ -2,24 +2,19 @@
distshare={homedir}/.tox/distshare distshare={homedir}/.tox/distshare
envlist=py26,py27,py31,py27-xdist,py25,py24 envlist=py26,py27,py31,py27-xdist,py25,py24
[tox:hudson]
distshare={toxworkdir}/distshare
sdistsrc={distshare}/pytest-*
[testenv] [testenv]
indexserver=http://pypi.testrun.org
changedir=testing changedir=testing
commands= commands= py.test -rfsxX --junitxml={envlogdir}/junit-{envname}.xml []
py.test -rfsxX --junitxml={envlogdir}/junit-{envname}.xml []
deps= deps=
{distshare}/pylib-* pylib
pexpect #pexpect XXX
nose #nose XXX
[testenv:py27-xdist] [testenv:py27-xdist]
basepython=python2.7 basepython=python2.7
deps= deps= pylib
{distshare}/pylib-* pytest-xdist
{distshare}/pytest-xdist-*
commands= commands=
py.test -n3 -rfsxX \ py.test -n3 -rfsxX \
--junitxml={envlogdir}/junit-{envname}.xml [] --junitxml={envlogdir}/junit-{envname}.xml []
@ -28,24 +23,23 @@ commands=
basepython=python basepython=python
changedir=doc changedir=doc
deps=sphinx deps=sphinx
{distshare}/pylib-* pylib
{distshare}/pytest-xdist-* pytest-xdist
commands= commands=
make html make html
[testenv:py31] [testenv:py31]
deps= {distshare}/pylib-* deps=pylib
[testenv:py32] [testenv:py32]
deps= {distshare}/pylib-* deps=pylib
[testenv:pypy]
basepython=pypy-c
#{distshare}/pytest-xdist-*
#[testenv:pypy]
#python=pypy-c
[testenv:jython] [testenv:jython]
changedir=testing changedir=testing
basepython=jython
commands= commands=
{envpython} {envbindir}/py.test-jython \ {envpython} {envbindir}/py.test-jython \
-rfsxX --junitxml={envlogdir}/junit-{envname}1.xml [io_ code] -rfsxX --junitxml={envlogdir}/junit-{envname}1.xml [io_ code]