forked from celery/celery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
43 lines (37 loc) · 1.7 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
[tox]
envlist = py24,py25,py26,py27
[testenv]
distribute = True
sitepackages = False
commands = nosetests
[testenv:py24]
basepython = python2.4
commands = pip -E {envdir} install -r contrib/requirements/default.txt
pip -E {envdir} install -r contrib/requirements/py24.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
commands = pip -E {envdir} install -r contrib/requirements/default.txt
pip -E {envdir} install -r contrib/requirements/py25.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:py26]
basepython = python2.6
commands = pip -E {envdir} install -r contrib/requirements/default.txt
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:py27]
basepython = python2.7
commands = pip -E {envdir} install -r contrib/requirements/default.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