Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 89 lines (80 sloc) 3.875 kB
71a8d2f Added tox.ini
Ask Solem authored
1 [tox]
b0c69f8 @ask Tests passing on Python 3.2
authored
2 envlist = py25,py26,py27,py32,pypy
71a8d2f Added tox.ini
Ask Solem authored
3
4 [testenv]
5 distribute = True
6 sitepackages = False
7 commands = nosetests
8
b0c69f8 @ask Tests passing on Python 3.2
authored
9 [testenv:py32]
25fb0c7 @ask Py3k passing
authored
10 distribute= True
34e53ab @ask Improves tox for py3k
authored
11 recreate = True
b0c69f8 @ask Tests passing on Python 3.2
authored
12 basepython = python3.2
13 changedir = .tox
d5d89b5 @ask More tox improvements
authored
14 deps = -r{toxinidir}/requirements/default.txt
61b4778 @ask Tox: remove pyc files before testing
authored
15 commands = {toxinidir}/contrib/release/removepyc.sh {toxinidir}
25fb0c7 @ask Py3k passing
authored
16 {envbindir}/easy_install -U distribute
17 {envbindir}/pip install \
18 --download-cache={toxworkdir}/_download \
19 -r{toxinidir}/requirements/test-py3k.txt
20
61b4778 @ask Tox: remove pyc files before testing
authored
21 nosetests -vd kombu.tests \
34e53ab @ask Improves tox for py3k
authored
22 --with-coverage3 \
23 --cover3-branch \
24 --cover3-xml \
4476e9a @ask Fixes tox for py32
authored
25 --cover3-xml-file={toxinidir}/coverage.xml \
25fb0c7 @ask Py3k passing
authored
26 #--cover3-html \
27 #--cover3-html-dir={toxinidir}/cover \
34e53ab @ask Improves tox for py3k
authored
28 --cover3-package=kombu \
29 --cover3-exclude="kombu kombu.utils.* \
30 kombu.transport.pypika \
31 kombu.transport.pycouchdb \
32 kombu.transport.mongodb \
33 kombu.transport.beanstalk" \
34 --with-xunit \
4476e9a @ask Fixes tox for py32
authored
35 --xunit-file={toxinidir}/nosetests.xml
34e53ab @ask Improves tox for py3k
authored
36
b0c69f8 @ask Tests passing on Python 3.2
authored
37 [testenv:py27]
38 basepython = python2.7
d5d89b5 @ask More tox improvements
authored
39 deps = -r{toxinidir}/requirements/default.txt
40 -r{toxinidir}/requirements/test.txt
61b4778 @ask Tox: remove pyc files before testing
authored
41 commands = {toxinidir}/contrib/release/removepyc.sh {toxinidir}
ca0d18c @ask Tox: Fixes coverage.xml location
authored
42 nosetests --with-xunit \
43 --xunit-file={toxinidir}/nosetests.xml \
44 --with-coverage3 --cover3-xml \
45 --cover3-html-dir={toxinidir}/cover \
46 --cover3-xml-file={toxinidir}/coverage.xml
71a8d2f Added tox.ini
Ask Solem authored
47
48 [testenv:py26]
49 basepython = python2.6
d5d89b5 @ask More tox improvements
authored
50 deps = -r{toxinidir}/requirements/default.txt
51 -r{toxinidir}/requirements/test.txt
61b4778 @ask Tox: remove pyc files before testing
authored
52 commands = {toxinidir}/contrib/release/removepyc.sh {toxinidir}
ca0d18c @ask Tox: Fixes coverage.xml location
authored
53 nosetests --with-xunit \
54 --xunit-file={toxinidir}/nosetests.xml \
55 --with-coverage3 --cover3-xml \
56 --cover3-html-dir={toxinidir}/cover \
57 --cover3-xml-file={toxinidir}/coverage.xml
71a8d2f Added tox.ini
Ask Solem authored
58
b0c69f8 @ask Tests passing on Python 3.2
authored
59 [testenv:py25]
60 basepython = python2.5
d5d89b5 @ask More tox improvements
authored
61 deps = -r{toxinidir}/requirements/default.txt
62 -r{toxinidir}/requirements/test.txt
61b4778 @ask Tox: remove pyc files before testing
authored
63 commands = {toxinidir}/contrib/release/removepyc.sh {toxinidir}
c04a230 @ask Tox: specify correct xunit location
authored
64 nosetests --with-xunit \
65 --xunit-file={toxinidir}/nosetests.xml \
d5d89b5 @ask More tox improvements
authored
66 --with-coverage3 --cover3-xml \
4d107d4 @ask tox: Store cover in toplevel directory
authored
67 --cover3-html-dir={toxinidir}/cover \
ca0d18c @ask Tox: Fixes coverage.xml location
authored
68 --cover3-xml-file={toxinidir}/coverage.xml
9f78ae0 @EnTeQuAk Fixed unittests to run with PyPy, moved some module logic to test uti…
EnTeQuAk authored
69
70 [testenv:pypy]
71 basepython = pypy
d5d89b5 @ask More tox improvements
authored
72 deps = -r{toxinidir}/requirements/default.txt
73 -r{toxinidir}/requirements/test-pypy.txt
61b4778 @ask Tox: remove pyc files before testing
authored
74 commands = {toxinidir}/contrib/release/removepyc.sh {toxinidir}
c04a230 @ask Tox: specify correct xunit location
authored
75 nosetests --with-xunit \
76 --xunit-file={toxinidir}/nosetests.xml \
d5d89b5 @ask More tox improvements
authored
77 --with-coverage3 --cover3-xml \
4d107d4 @ask tox: Store cover in toplevel directory
authored
78 --cover3-html-dir={toxinidir}/cover \
ca0d18c @ask Tox: Fixes coverage.xml location
authored
79 --cover3-xml-file={toxinidir}/coverage.xml
af915d4 @ask Fixes syntax error in django transport
authored
80
81 [testenv:jython]
82 basepython = jython
5f28693 @ask tox: adds jython target
authored
83 recreate = True
84 where = .tox
af915d4 @ask Fixes syntax error in django transport
authored
85 deps = -r{toxinidir}/requirements/default.txt
86 -r{toxinidir}/requirements/test-jython.txt
87 commands = {toxinidir}/contrib/release/removepyc.sh {toxinidir}
5f28693 @ask tox: adds jython target
authored
88 {toxinidir}/contrib/release/jython-run-tests {toxinidir}
Something went wrong with that request. Please try again.