2010-07-20 10:41:36 +00:00
|
|
|
[tox]
|
2011-09-13 15:14:41 +00:00
|
|
|
envlist = py25,py26,py27,py32,pypy
|
2010-07-20 10:41:36 +00:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
distribute = True
|
|
|
|
sitepackages = False
|
|
|
|
commands = nosetests
|
|
|
|
|
2011-09-13 15:14:41 +00:00
|
|
|
[testenv:py32]
|
|
|
|
basepython = python3.2
|
|
|
|
changedir = .tox
|
|
|
|
commands = pip -E {envdir} install -r ../requirements/default.txt
|
|
|
|
pip -E {envdir} install -r ../requirements/test-py3k.txt
|
|
|
|
nosetests -v kombu.tests
|
|
|
|
|
|
|
|
[testenv:py27]
|
|
|
|
basepython = python2.7
|
|
|
|
commands = pip -E {envdir} install -r requirements/default.txt
|
|
|
|
pip -E {envdir} install -r requirements/test.txt
|
2010-07-20 10:41:36 +00:00
|
|
|
nosetests --with-xunit --xunit-file=nosetests.xml \
|
|
|
|
--with-coverage3 --cover3-xml \
|
|
|
|
--cover3-xml-file=coverage.xml
|
|
|
|
|
|
|
|
[testenv:py26]
|
|
|
|
basepython = python2.6
|
2011-09-13 15:14:41 +00:00
|
|
|
commands = pip -E {envdir} install -r requirements/default.txt
|
|
|
|
pip -E {envdir} install -r requirements/test.txt
|
2010-07-20 10:41:36 +00:00
|
|
|
nosetests --with-xunit --xunit-file=nosetests.xml \
|
|
|
|
--with-coverage3 --cover3-xml \
|
|
|
|
--cover3-xml-file=coverage.xml
|
|
|
|
|
2011-09-13 15:14:41 +00:00
|
|
|
[testenv:py25]
|
|
|
|
basepython = python2.5
|
|
|
|
commands = pip -E {envdir} install -r requirements/default.txt
|
|
|
|
pip -E {envdir} install -r requirements/test.txt
|
2010-07-20 10:41:36 +00:00
|
|
|
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
|
2011-09-13 15:14:41 +00:00
|
|
|
commands = pip -E {envdir} install -r requirements/default.txt
|
|
|
|
pip -E {envdir} install -r requirements/test-pypy.txt
|
2011-08-28 15:30:44 +00:00
|
|
|
nosetests --with-xunit --xunit-file=nosetests.xml \
|
|
|
|
--with-coverage3 --cover3-xml \
|
|
|
|
--cover3-xml-file=coverage.xml
|