remove hudson artifact handling in favour of indexserver
This commit is contained in:
@@ -11,9 +11,9 @@ def pytest_funcarg__hookrecorder(request):
|
|||||||
|
|
||||||
def pytest_funcarg__hook(request):
|
def pytest_funcarg__hook(request):
|
||||||
from xdist import newhooks
|
from xdist import newhooks
|
||||||
from pytest._core import HookRelay, Registry
|
from pytest._core import HookRelay, PluginManager
|
||||||
from pytest import hookspec
|
from pytest import hookspec
|
||||||
return HookRelay([hookspec, newhooks], Registry())
|
return HookRelay([hookspec, newhooks], PluginManager())
|
||||||
|
|
||||||
class pytest_funcarg__mysetup:
|
class pytest_funcarg__mysetup:
|
||||||
def __init__(self, request):
|
def __init__(self, request):
|
||||||
|
|||||||
13
tox.ini
13
tox.ini
@@ -1,17 +1,14 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist=py26,py31,py27,py25,py24
|
envlist=py26,py31,py27,py25,py24
|
||||||
[tox:hudson]
|
|
||||||
sdistsrc={distshare}/pytest-xdist-*
|
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
indexserver=http://pypi.testrun.org
|
||||||
changedir=testing
|
changedir=testing
|
||||||
deps=
|
deps=pytest
|
||||||
{distshare}/py-*
|
commands= py.test -rsfxX \
|
||||||
commands=
|
|
||||||
py.test -rsfxX \
|
|
||||||
--junitxml={envlogdir}/junit-{envname}.xml []
|
--junitxml={envlogdir}/junit-{envname}.xml []
|
||||||
[testenv:py26]
|
[testenv:py26]
|
||||||
basepython=python2.6
|
basepython=python2.6
|
||||||
deps=
|
deps=
|
||||||
{distshare}/py-*
|
pytest
|
||||||
pexpect
|
#pexpect
|
||||||
|
|||||||
Reference in New Issue
Block a user