mirror of https://github.com/celery/kombu.git
Improves tox for py3k
This commit is contained in:
parent
4dff6f6f6d
commit
fc524d9178
|
@ -1,4 +1,3 @@
|
||||||
nose
|
nose
|
||||||
nose-cover3
|
nose-cover3
|
||||||
coverage>=3.0
|
coverage>=3.0
|
||||||
PyYAML
|
|
||||||
|
|
17
tox.ini
17
tox.ini
|
@ -7,11 +7,26 @@ sitepackages = False
|
||||||
commands = nosetests
|
commands = nosetests
|
||||||
|
|
||||||
[testenv:py32]
|
[testenv:py32]
|
||||||
|
recreate = True
|
||||||
basepython = python3.2
|
basepython = python3.2
|
||||||
changedir = .tox
|
changedir = .tox
|
||||||
commands = pip -E {envdir} install -r ../requirements/default.txt
|
commands = pip -E {envdir} install -r ../requirements/default.txt
|
||||||
pip -E {envdir} install -r ../requirements/test-py3k.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]
|
[testenv:py27]
|
||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
|
|
Loading…
Reference in New Issue