summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini59
1 files changed, 59 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 00000000..5b8c32d7
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,59 @@
+[tox]
+envlist =
+ 2.7,
+ 3.3,
+ 3.4,
+ pypy
+
+[testenv]
+sitepackages = False
+commands = nosetests
+
+[testenv:3.4]
+basepython = python3.4
+deps = -r{toxinidir}/requirements/default.txt
+ -r{toxinidir}/requirements/test3.txt
+ -r{toxinidir}/requirements/test-ci3.txt
+commands = {toxinidir}/extra/release/removepyc.sh {toxinidir}
+ pip install -U -r{toxinidir}/requirements/dev.txt
+ nosetests -vds kombu.tests \
+ --with-coverage --cover-inclusive --cover-erase []
+
+[testenv:3.3]
+basepython = python3.3
+deps = -r{toxinidir}/requirements/default.txt
+ -r{toxinidir}/requirements/test3.txt
+ -r{toxinidir}/requirements/test-ci3.txt
+commands = {toxinidir}/extra/release/removepyc.sh {toxinidir}
+ pip install -U -r{toxinidir}/requirements/dev.txt
+ nosetests -vds kombu.tests \
+ --with-coverage --cover-inclusive --cover-erase []
+
+[testenv:2.7]
+basepython = python2.7
+deps = -r{toxinidir}/requirements/default.txt
+ -r{toxinidir}/requirements/test.txt
+ -r{toxinidir}/requirements/test-ci.txt
+commands = {toxinidir}/extra/release/removepyc.sh {toxinidir}
+ pip install -U -r{toxinidir}/requirements/dev.txt
+ nosetests --with-coverage --cover-inclusive --cover-erase []
+
+[testenv:pypy]
+basepython = pypy
+deps = -r{toxinidir}/requirements/default.txt
+ -r{toxinidir}/requirements/test.txt
+ -r{toxinidir}/requirements/test-ci.txt
+commands = {toxinidir}/extra/release/removepyc.sh {toxinidir}
+ pip install -U -r{toxinidir}/requirements/dev.txt
+ nosetests --with-coverage --cover-inclusive --cover-erase []
+
+[testenv:jython]
+basepython = jython
+recreate = True
+where = .tox
+deps = -r{toxinidir}/requirements/default.txt
+ -r{toxinidir}/requirements/test.txt
+ -r{toxinidir}/requirements/test-ci.txt
+commands = {toxinidir}/extra/release/removepyc.sh {toxinidir}
+ pip install -U -r{toxinidir}/requirements/dev.txt
+ nosetests --with-coverage --cover-inclusive --cover-erase []