-
Notifications
You must be signed in to change notification settings - Fork 62
/
tox.ini
97 lines (80 loc) · 1.61 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
91
92
93
94
95
96
97
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist =
py34-2.0.X,
py34-1.11.X,
py27-1.11.X,
py34-1.10.X,
py27-1.10.X,
py34-1.9.X,
py27-1.9.X,
py34-1.8.X,
py27-1.8.X,
py34-1.7.X,
py27-1.7.X,
py34-1.6.X,
py27-1.6.X,
[testenv]
setenv =
DJANGO_SETTINGS_MODULE=coupons.tests.settings
PYTHONPATH={toxinidir}
commands =
django-admin.py --version
django-admin.py test coupons
[testenv:py34-2.0.X]
basepython = python3.4
deps =
django>=2.0, <2.1
[testenv:py34-1.11.X]
basepython = python3.4
deps =
django>=1.11, <1.12
[testenv:py27-1.11.X]
basepython = python2.7
deps =
django>=1.11, <1.12
[testenv:py34-1.10.X]
basepython = python3.4
deps =
django>=1.10, <1.11
[testenv:py27-1.10.X]
basepython = python2.7
deps =
django>=1.10, <1.11
[testenv:py34-1.9.X]
basepython = python3.4
deps =
django>=1.9, <1.10
[testenv:py27-1.9.X]
basepython = python2.7
deps =
django>=1.9, <1.10
[testenv:py34-1.8.X]
basepython = python3.4
deps =
django>=1.8, <1.9
[testenv:py27-1.8.X]
basepython = python2.7
deps =
django>=1.8, <1.9
[testenv:py34-1.7.X]
basepython = python3.4
deps =
django>=1.7, <1.8
[testenv:py27-1.7.X]
basepython = python2.7
deps =
django>=1.7, <1.8
[testenv:py34-1.6.X]
basepython = python3.4
deps =
django>=1.6, <1.7
[testenv:py27-1.6.X]
basepython = python2.7
deps =
django>=1.6, <1.7
[flake8]
max-line-length = 120