forked from goinnn/django-smart-extends
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
59 lines (55 loc) · 2.08 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
[tox]
envlist = py27-dj15,py33-dj15,py26-dj15
[testenv]
install_command =
pip install {opts} {packages}
[testenv:py27-dj15]
basepython = python2.7
usedevelop = True
commands =
;unpatched
python {envbindir}/coverage run -p example/run_tests.py
patch -p2 -N -d {toxinidir}/.tox/py27-dj15/lib/python2.7/site-packages/django/ -i {toxinidir}/patches/patch.diff
;patched
python {envbindir}/coverage run -p example/run_tests.py
;patched and DEBUG = TEMPLATE_DEBUG = False
python {envbindir}/coverage run -p example/run_tests.py example.settings_no_debug
patch -p2 -R -N -d {toxinidir}/.tox/py27-dj15/lib/python2.7/site-packages/django/ -i {toxinidir}/patches/patch.diff
deps =
coveralls==0.3
django==1.5.4
pillow==1.7.8
django-dbtemplates==1.3
[testenv:py33-dj15]
basepython = python3.3
usedevelop = True
commands =
;unpatched
python {envbindir}/coverage run -p example/run_tests.py
patch -p2 -N -d {toxinidir}/.tox/py33-dj15/lib/python3.3/site-packages/django/ -i {toxinidir}/patches/patch.diff
;patched
python {envbindir}/coverage run -p example/run_tests.py
;patched and DEBUG = TEMPLATE_DEBUG = False
python {envbindir}/coverage run -p example/run_tests.py example.settings_no_debug
patch -p2 -R -N -d {toxinidir}/.tox/py33-dj15/lib/python3.3/site-packages/django/ -i {toxinidir}/patches/patch.diff
deps =
coveralls==0.3
django==1.5.4
pillow==2.1.0
[testenv:py26-dj15]
basepython = python2.6
usedevelop = True
commands =
;unpatched
python {envbindir}/coverage run -p example/run_tests.py
patch -p2 -N -d {toxinidir}/.tox/py26-dj15/lib/python2.6/site-packages/django/ -i {toxinidir}/patches/patch.diff
;patched
python {envbindir}/coverage run -p example/run_tests.py
;patched and DEBUG = TEMPLATE_DEBUG = False
python {envbindir}/coverage run -p example/run_tests.py example.settings_no_debug
patch -p2 -R -N -d {toxinidir}/.tox/py26-dj15/lib/python2.6/site-packages/django/ -i {toxinidir}/patches/patch.diff
deps =
coveralls==0.3
django==1.5.4
pillow==1.7.8
django-dbtemplates==1.3