More tox improvements

This commit is contained in:
Ask Solem 2011-09-13 18:14:20 +01:00
parent fc524d9178
commit 6653a34ea0
1 changed files with 23 additions and 23 deletions

46
tox.ini
View File

@ -1,5 +1,5 @@
[tox]
envlist = py24,py25,py26,py27,pypy
envlist = py24,py25,py26,py27,py32,pypy
[testenv]
distribute = True
@ -10,9 +10,9 @@ commands = nosetests
recreate = True
basepython = python3.2
changedir = .tox
commands = pip -E {envdir} install -r ../requirements/default.txt
pip -E {envdir} install -r ../requirements/test-py3k.txt
nosetests -vd kombu.tests \
deps = -r{toxinidir}/requirements/default.txt
-r{toxinidir}/requirements/test-py3k.txt
commands = nosetests -vd kombu.tests \
--with-coverage3 \
--cover3-branch \
--cover3-xml \
@ -30,43 +30,43 @@ commands = pip -E {envdir} install -r ../requirements/default.txt
[testenv:py27]
basepython = python2.7
commands = pip -E {envdir} install -r requirements/default.txt
pip -E {envdir} install -r requirements/test.txt
nosetests --with-xunit --xunit-file=nosetests.xml \
deps = -r{toxinidir}/requirements/default.txt
-r{toxinidir}/requirements/test.txt
commands = 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 requirements/default.txt
pip -E {envdir} install -r requirements/test.txt
nosetests --with-xunit --xunit-file=nosetests.xml \
deps = -r{toxinidir}/requirements/default.txt
-r{toxinidir}/requirements/test.txt
commands = 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 requirements/default.txt
pip -E {envdir} install -r requirements/test.txt
nosetests --with-xunit --xunit-file=nosetests.xml \
--with-coverage3 --cover3-xml \
deps = -r{toxinidir}/requirements/default.txt
-r{toxinidir}/requirements/test.txt
commands = nosetests --with-xunit --xunit-file=nosetests.xml \
--with-coverage3 --cover3-xml \
--cover3-xml-file=coverage.xml
[testenv:py24]
basepython = python2.4
commands = pip -E {envdir} install -r requirements/default.txt
pip -E {envdir} install -r requirements/py24.txt
pip -E {envdir} install -r requirements/test.txt
nosetests --with-xunit --xunit-file=nosetests.xml \
--with-coverage3 --cover3-xml \
deps = -r{toxinidir}/requirements/default.txt
-r{toxinidir}/requirements/py24.txt
-r{toxinidir}/requirements/test.txt
commands = nosetests --with-xunit --xunit-file=nosetests.xml \
--with-coverage3 --cover3-xml \
--cover3-xml-file=coverage.xml
[testenv:pypy]
basepython = pypy
commands = pip -E {envdir} install -r requirements/default.txt
pip -E {envdir} install -r requirements/test-pypy.txt
nosetests --with-xunit --xunit-file=nosetests.xml \
--with-coverage3 --cover3-xml \
deps = -r{toxinidir}/requirements/default.txt
-r{toxinidir}/requirements/test-pypy.txt
commands = nosetests --with-xunit --xunit-file=nosetests.xml \
--with-coverage3 --cover3-xml \
--cover3-xml-file=coverage.xml