forked from ask/celery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
90 lines (83 loc) · 4.16 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[tox]
envlist = py25,py26,py27,pypy
[testenv]
distribute = True
sitepackages = False
commands = nosetests
[testenv:py32]
recreate = True
basepython = python3.2
changedir = .tox
deps = -r{toxinidir}/requirements/default.txt
-r{toxinidir}/requirements/test-py3k.txt
commands = {toxinidir}/contrib/release/removepyc.sh {toxinidir}
nosetests -vd celery.tests \
--with-coverage3 \
--cover3-branch \
--cover3-xml \
--cover3-xml-file=coverage.xml \
--cover3-html \
--cover3-package=celery \
--cover3-exclude="celery celery.tests.* \
celery.bin.celeryd_multi \
celery.bin.celeryd_detach \
celery.bin.celeryctl \
celery.bin.camqadm \
celery.execute \
celery.local \
celery.platforms \
celery.utils.patch \
celery.utils.compat \
celery.utils.mail \
celery.utils.functional \
celery.utils.dispatch* \
celery.utils.term \
celery.db.a805d4bd \
celery.db.dfd042c7 \
celery.contrib* \
celery.concurrency.threads \
celery.concurrency.processes.pool \
celery.concurrency.gevent \
celery.backends.mongodb \
celery.backends.tyrant \
celery.backends.cassandra \
celery.events.dumper \
celery.events.cursesmon" \
--with-xunit \
--xunit-file=nosetests.xml
[testenv:py27]
basepython = python2.7
deps = -r{toxinidir}/requirements/default.txt
-r{toxinidir}/requirements/test.txt
commands = {toxinidir}/contrib/release/removepyc.sh {toxinidir}
nosetests --with-xunit --xunit-file=nosetests.xml \
--with-coverage3 --cover3-xml \
--cover3-xml-file=coverage.xml
[testenv:py26]
basepython = python2.6
deps = -r{toxinidir}/requirements/default.txt
-r{toxinidir}/requirements/py26.txt
-r{toxinidir}/requirements/test.txt
commands = {toxinidir}/contrib/release/removepyc.sh {toxinidir}
pip -E {envdir} install -r contrib/requirements/py26.txt
pip -E {envdir} install -r contrib/requirements/test.txt
nosetests --with-xunit --xunit-file=nosetests.xml \
--with-coverage3 --cover3-xml \
--cover3-xml-file=coverage.xml
[testenv:py25]
basepython = python2.5
deps = -r{toxinidir}/requirements/default.txt
-r{toxinidir}/requirements/py25.txt
-r{toxinidir}/requirements/test.txt
commands = {toxinidir}/contrib/release/removepyc.sh {toxinidir}
nosetests --with-xunit --xunit-file=nosetests.xml \
--with-coverage3 --cover3-xml \
--cover3-xml-file=coverage.xml
[testenv:pypy]
basepython = pypy
deps = -r{toxinidir}/requirements/default.txt
-r{toxinidir}/requirements/test-pypy.txt
commands = {toxinidir}/contrib/release/removepyc.sh {toxinidir}
nosetests --with-xunit --xunit-file=nosetests.xml \
--with-coverage3 --cover3-xml \
--cover3-xml-file=coverage.xml