diff options
author | Ask Solem <ask@celeryproject.org> | 2012-11-12 14:30:42 +0000 |
---|---|---|
committer | Ask Solem <ask@celeryproject.org> | 2012-11-12 14:30:42 +0000 |
commit | c2606b36d745a95a450156ce84e3432cd7681cf3 (patch) | |
tree | 00eaf84bc3bf96e3423aab818468f7a2f617a6e0 /tox.ini | |
parent | 471c1c446bb97b5a40154b7958c4e12782b73b58 (diff) | |
download | kombu-c2606b36d745a95a450156ce84e3432cd7681cf3.tar.gz |
Codebase now runs on both Py3 and Py2 (not using 2to3)
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 34 |
1 files changed, 28 insertions, 6 deletions
@@ -1,31 +1,53 @@ [tox] -envlist = py25,py26,py27,py32,pypy +envlist = py25,py26,py27,py33,pypy [testenv] distribute = True sitepackages = False commands = nosetests +[testenv:py33] +distribute= True +basepython = python3.3 +deps = -r{toxinidir}/requirements/default.txt + -r{toxinidir}/requirements/test-ci.txt +commands = {toxinidir}/extra/release/removepyc.sh {toxinidir} + {envbindir}/easy_install -U distribute + {envbindir}/pip install \ + --download-cache={toxworkdir}/_download \ + -r{toxinidir}/requirements/test3.txt + + nosetests -vd kombu.tests \ + --with-coverage3 \ + --cover3-branch \ + --cover3-xml \ + --cover3-xml-file={toxinidir}/coverage.xml \ + --cover3-package=kombu \ + --cover3-exclude="kombu kombu.utils.* \ + kombu.transport.pypika \ + kombu.transport.pycouchdb \ + kombu.transport.mongodb \ + kombu.transport.beanstalk \ + kombu.transport.zookeeper" \ + --with-xunit \ + --xunit-file={toxinidir}/nosetests.xml + [testenv:py32] distribute= True -recreate = True basepython = python3.2 -changedir = .tox deps = -r{toxinidir}/requirements/default.txt -r{toxinidir}/requirements/test-ci.txt commands = {toxinidir}/extra/release/removepyc.sh {toxinidir} {envbindir}/easy_install -U distribute {envbindir}/pip install \ --download-cache={toxworkdir}/_download \ - -r{toxinidir}/requirements/test-py3k.txt + -r{toxinidir}/requirements/test3.txt nosetests -vd kombu.tests \ --with-coverage3 \ --cover3-branch \ --cover3-xml \ --cover3-xml-file={toxinidir}/coverage.xml \ - #--cover3-html \ - #--cover3-html-dir={toxinidir}/cover \ --cover3-package=kombu \ --cover3-exclude="kombu kombu.utils.* \ kombu.transport.pypika \ |