|
@@ -1,46 +1,37 @@
|
|
|
[tox]
|
|
|
-envlist = py26,py27,py33,pypy
|
|
|
+envlist =
|
|
|
+ 2.6,
|
|
|
+ 2.7,
|
|
|
+ 3.3,
|
|
|
+ pypy
|
|
|
|
|
|
[testenv]
|
|
|
sitepackages = False
|
|
|
commands = nosetests
|
|
|
|
|
|
-[testenv:py33]
|
|
|
+[testenv:3.3]
|
|
|
basepython = python3.3
|
|
|
deps = -r{toxinidir}/requirements/default.txt
|
|
|
-r{toxinidir}/requirements/test3.txt
|
|
|
-r{toxinidir}/requirements/test-ci.txt
|
|
|
commands = {toxinidir}/extra/release/removepyc.sh {toxinidir}
|
|
|
- pip install anyjson
|
|
|
- nosetests -vd celery.tests \
|
|
|
- --with-xunit \
|
|
|
- --xunit-file="{toxinidir}/nosetests.xml"
|
|
|
+ nosetests celery.tests --with-coverage --cover-inclusive --cover-erase []
|
|
|
|
|
|
-[testenv:py27]
|
|
|
+[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 anyjson
|
|
|
- nosetests -v --with-xunit \
|
|
|
- --xunit-file={toxinidir}/nosetests.xml \
|
|
|
- --with-coverage3 --cover3-xml \
|
|
|
- --cover3-html-dir={toxinidir}/cover \
|
|
|
- --cover3-xml-file={toxinidir}/coverage.xml
|
|
|
+ nosetests --with-coverage --cover-inclusive --cover-erase []
|
|
|
|
|
|
-[testenv:py26]
|
|
|
+[testenv:2.6]
|
|
|
basepython = python2.6
|
|
|
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 anyjson
|
|
|
- nosetests -v --with-xunit \
|
|
|
- --xunit-file={toxinidir}/nosetests.xml \
|
|
|
- --with-coverage3 --cover3-xml \
|
|
|
- --cover3-html-dir={toxinidir}/cover \
|
|
|
- --cover3-xml-file={toxinidir}/coverage.xml
|
|
|
+ nosetests --with-coverage --cover-inclusive --cover-erase []
|
|
|
|
|
|
[testenv:pypy]
|
|
|
basepython = pypy
|
|
@@ -48,9 +39,4 @@ 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 anyjson
|
|
|
- nosetests -v --with-xunit \
|
|
|
- --xunit-file={toxinidir}/nosetests.xml \
|
|
|
- --with-coverage3 --cover3-xml \
|
|
|
- --cover3-html-dir={toxinidir}/cover \
|
|
|
- --cover3-xml-file={toxinidir}/coverage.xml
|
|
|
+ nosetests --with-coverage --cover-inclusive --cover-erase []
|