diff --git a/.hgignore b/.hgignore index 0608f20..c959df4 100644 --- a/.hgignore +++ b/.hgignore @@ -19,3 +19,4 @@ dist/ pytest_xdist.egg-info issue/ 3rdparty/ +.tox diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..f624af1 --- /dev/null +++ b/tox.ini @@ -0,0 +1,30 @@ +[tox] +distshare={homedir}/.tox/distshare +[tox:hudson] +sdistsrc={distshare}/pytest-xdist-**LATEST** + +[testenv] +changedir=testing +deps= + {distshare}/py-**LATEST** + {distshare}/execnet-**LATEST** +commands=py.test -rsfxX --junitxml={envlogdir}/junit-{envname}.xml [] +[testenv:py27] +basepython=python2.7 +[testenv:py26] +basepython=python2.6 +[testenv:py26-py131] +basepython=python2.6 +deps= py==1.3.1 + execnet==1.0.6 +[testenv:py25] +basepython=python2.5 +[testenv:py24] +basepython=python2.4 +[testenv:py31] +basepython=python3.1 +#[testenv:pypy] +#basepython=pypy-c +#[testenv:jython] +#basepython=jython +