Improves tox for py3k

This commit is contained in:
Ask Solem 2011-09-13 17:03:43 +01:00
parent 4dff6f6f6d
commit fc524d9178
2 changed files with 16 additions and 2 deletions

View File

@ -1,4 +1,3 @@
nose
nose-cover3
coverage>=3.0
PyYAML

17
tox.ini
View File

@ -7,11 +7,26 @@ sitepackages = False
commands = nosetests
[testenv:py32]
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 -v kombu.tests
nosetests -vd kombu.tests \
--with-coverage3 \
--cover3-branch \
--cover3-xml \
--cover3-xml-file=coverage.xml \
--cover3-html \
--cover3-package=kombu \
--cover3-exclude="kombu kombu.utils.* \
kombu.transport.pypika \
kombu.transport.pycouchdb \
kombu.transport.mongodb \
kombu.transport.beanstalk" \
--with-xunit \
--xunit-file=nosetests.xml
[testenv:py27]
basepython = python2.7