kombu/tox.ini

89 lines
3.8 KiB
INI
Raw Normal View History

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]
2011-10-28 23:08:49 +00:00
distribute= True
2011-09-13 16:03:43 +00:00
recreate = True
2011-09-13 15:14:41 +00:00
basepython = python3.2
changedir = .tox
2011-09-13 17:14:20 +00:00
deps = -r{toxinidir}/requirements/default.txt
2011-09-13 17:24:32 +00:00
commands = {toxinidir}/contrib/release/removepyc.sh {toxinidir}
2011-10-28 23:08:49 +00:00
{envbindir}/easy_install -U distribute
{envbindir}/pip install \
--download-cache={toxworkdir}/_download \
-r{toxinidir}/requirements/test-py3k.txt
2011-09-13 17:24:32 +00:00
nosetests -vd kombu.tests \
2011-09-13 16:03:43 +00:00
--with-coverage3 \
--cover3-branch \
--cover3-xml \
2011-09-14 10:19:26 +00:00
--cover3-xml-file={toxinidir}/coverage.xml \
2011-10-28 23:08:49 +00:00
#--cover3-html \
#--cover3-html-dir={toxinidir}/cover \
2011-09-13 16:03:43 +00:00
--cover3-package=kombu \
--cover3-exclude="kombu kombu.utils.* \
kombu.transport.pypika \
kombu.transport.pycouchdb \
kombu.transport.mongodb \
kombu.transport.beanstalk" \
--with-xunit \
2011-09-14 10:19:26 +00:00
--xunit-file={toxinidir}/nosetests.xml
2011-09-13 16:03:43 +00:00
2011-09-13 15:14:41 +00:00
[testenv:py27]
basepython = python2.7
2011-09-13 17:14:20 +00:00
deps = -r{toxinidir}/requirements/default.txt
-r{toxinidir}/requirements/test.txt
2011-09-13 17:24:32 +00:00
commands = {toxinidir}/contrib/release/removepyc.sh {toxinidir}
2011-09-14 10:03:15 +00:00
nosetests --with-xunit \
--xunit-file={toxinidir}/nosetests.xml \
--with-coverage3 --cover3-xml \
--cover3-html-dir={toxinidir}/cover \
--cover3-xml-file={toxinidir}/coverage.xml
2010-07-20 10:41:36 +00:00
[testenv:py26]
basepython = python2.6
2011-09-13 17:14:20 +00:00
deps = -r{toxinidir}/requirements/default.txt
-r{toxinidir}/requirements/test.txt
2011-09-13 17:24:32 +00:00
commands = {toxinidir}/contrib/release/removepyc.sh {toxinidir}
2011-09-14 10:03:15 +00:00
nosetests --with-xunit \
--xunit-file={toxinidir}/nosetests.xml \
--with-coverage3 --cover3-xml \
--cover3-html-dir={toxinidir}/cover \
--cover3-xml-file={toxinidir}/coverage.xml
2010-07-20 10:41:36 +00:00
2011-09-13 15:14:41 +00:00
[testenv:py25]
basepython = python2.5
2011-09-13 17:14:20 +00:00
deps = -r{toxinidir}/requirements/default.txt
-r{toxinidir}/requirements/test.txt
2011-09-13 17:24:32 +00:00
commands = {toxinidir}/contrib/release/removepyc.sh {toxinidir}
2011-09-14 07:58:07 +00:00
nosetests --with-xunit \
--xunit-file={toxinidir}/nosetests.xml \
2011-09-13 17:14:20 +00:00
--with-coverage3 --cover3-xml \
2011-09-14 00:02:56 +00:00
--cover3-html-dir={toxinidir}/cover \
2011-09-14 10:03:15 +00:00
--cover3-xml-file={toxinidir}/coverage.xml
[testenv:pypy]
basepython = pypy
2011-09-13 17:14:20 +00:00
deps = -r{toxinidir}/requirements/default.txt
-r{toxinidir}/requirements/test-pypy.txt
2011-09-13 17:24:32 +00:00
commands = {toxinidir}/contrib/release/removepyc.sh {toxinidir}
2011-09-14 07:58:07 +00:00
nosetests --with-xunit \
--xunit-file={toxinidir}/nosetests.xml \
2011-09-13 17:14:20 +00:00
--with-coverage3 --cover3-xml \
2011-09-14 00:02:56 +00:00
--cover3-html-dir={toxinidir}/cover \
2011-09-14 10:03:15 +00:00
--cover3-xml-file={toxinidir}/coverage.xml
2011-09-14 17:59:09 +00:00
[testenv:jython]
basepython = jython
2011-09-16 14:36:53 +00:00
recreate = True
where = .tox
2011-09-14 17:59:09 +00:00
deps = -r{toxinidir}/requirements/default.txt
-r{toxinidir}/requirements/test-jython.txt
commands = {toxinidir}/contrib/release/removepyc.sh {toxinidir}
2011-09-16 14:36:53 +00:00
{toxinidir}/contrib/release/jython-run-tests {toxinidir}