add a tox.ini file

--HG--
branch : trunk
This commit is contained in:
holger krekel 2010-07-01 17:59:35 +02:00
parent b8db15a94f
commit d51000b15d
1 changed files with 20 additions and 0 deletions

20
tox.ini Normal file
View File

@ -0,0 +1,20 @@
[test]
changedir=testing
argv=py.test
--basetemp={envtmpdir}
--junitxml=junit-{envname}.xml
[testenv:py26]
python=python2.6
[testenv:py25]
python=python2.5
[testenv:py24]
python=python2.4
[testenv:py31]
python=python3.1
#[testenv:pypy]
#python=pypy-c
#[testenv:jython]
#python=jython
#argv=jython
# -c
# import py ; py.cmdline.pytest(["-x", "--basetemp={envtmpdir}", "--junitxml=junit-${envname}.xml", "-k", "collect"])