2010-07-20 10:41:36 +00:00
|
|
|
[tox]
|
2011-08-28 15:30:44 +00:00
|
|
|
envlist = py24,py25,py26,py27,pypy
|
2010-07-20 10:41:36 +00:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
distribute = True
|
|
|
|
sitepackages = False
|
|
|
|
commands = nosetests
|
|
|
|
|
|
|
|
[testenv:py24]
|
|
|
|
basepython = python2.4
|
|
|
|
commands = pip -E {envdir} install -r contrib/requirements/default.txt
|
2011-06-28 14:40:11 +00:00
|
|
|
pip -E {envdir} install -r contrib/requirements/py24.txt
|
2010-07-20 10:41:36 +00:00
|
|
|
pip -E {envdir} install -r contrib/requirements/test.txt
|
|
|
|
nosetests --with-xunit --xunit-file=nosetests.xml \
|
|
|
|
--with-coverage3 --cover3-xml \
|
|
|
|
--cover3-xml-file=coverage.xml
|
|
|
|
|
|
|
|
|
|
|
|
[testenv:py25]
|
|
|
|
basepython = python2.5
|
|
|
|
commands = pip -E {envdir} install -r contrib/requirements/default.txt
|
|
|
|
pip -E {envdir} install -r contrib/requirements/test.txt
|
|
|
|
nosetests --with-xunit --xunit-file=nosetests.xml \
|
|
|
|
--with-coverage3 --cover3-xml \
|
|
|
|
--cover3-xml-file=coverage.xml
|
|
|
|
|
|
|
|
[testenv:py26]
|
|
|
|
basepython = python2.6
|
|
|
|
commands = pip -E {envdir} install -r contrib/requirements/default.txt
|
|
|
|
pip -E {envdir} install -r contrib/requirements/test.txt
|
|
|
|
nosetests --with-xunit --xunit-file=nosetests.xml \
|
|
|
|
--with-coverage3 --cover3-xml \
|
|
|
|
--cover3-xml-file=coverage.xml
|
|
|
|
|
|
|
|
[testenv:py27]
|
|
|
|
basepython = python2.7
|
|
|
|
commands = pip -E {envdir} install -r contrib/requirements/default.txt
|
|
|
|
pip -E {envdir} install -r contrib/requirements/test.txt
|
|
|
|
nosetests --with-xunit --xunit-file=nosetests.xml \
|
|
|
|
--with-coverage3 --cover3-xml \
|
|
|
|
--cover3-xml-file=coverage.xml
|
2011-08-28 15:30:44 +00:00
|
|
|
|
|
|
|
[testenv:pypy]
|
|
|
|
basepython = pypy
|
|
|
|
commands = pip -E {envdir} install -r contrib/requirements/default.txt
|
|
|
|
pip -E {envdir} install -r contrib/requirements/test-pypy.txt
|
|
|
|
nosetests --with-xunit --xunit-file=nosetests.xml \
|
|
|
|
--with-coverage3 --cover3-xml \
|
|
|
|
--cover3-xml-file=coverage.xml
|