forked from celery/celery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
67 lines (61 loc) · 2.72 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[tox]
envlist = py26,py27,py32,py33,pypy
[testenv]
sitepackages = False
commands = nosetests
[testenv:py32]
basepython = python3.2
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"
[testenv:py33]
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"
[testenv:py27]
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 --with-xunit \
--xunit-file={toxinidir}/nosetests.xml \
--with-coverage3 --cover3-xml \
--cover3-html-dir={toxinidir}/cover \
--cover3-xml-file={toxinidir}/coverage.xml
[testenv:py26]
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 --with-xunit \
--xunit-file={toxinidir}/nosetests.xml \
--with-coverage3 --cover3-xml \
--cover3-html-dir={toxinidir}/cover \
--cover3-xml-file={toxinidir}/coverage.xml
[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 anyjson
nosetests --with-xunit \
--xunit-file={toxinidir}/nosetests.xml \
--with-coverage3 --cover3-xml \
--cover3-html-dir={toxinidir}/cover \
--cover3-xml-file={toxinidir}/coverage.xml