forked from django-cas-ng/django-cas-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
119 lines (101 loc) · 1.88 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
[tox]
envlist=
py27-django15,
py27-django16,
py27-django17,
py27-django18,
py27-django19,
py34-django15,
py34-django16,
py34-django17,
py34-django18,
py34-django19,
py34-django20,
py35-django18,
py35-django19,
py35-django20,
flake8,
[flake8]
# E402 module level import not at top of file
# E501 line too long
ignore = E402,E501
exclude = tests/*
[base]
deps =
-r{toxinidir}/requirements-dev.txt
[testenv]
commands=py.test --cov-report term-missing --cov django_cas_ng --tb native {posargs:tests}
[testenv:py27-django15]
basepython=python2.7
deps =
Django>=1.5,<1.6
{[base]deps}
[testenv:py27-django16]
basepython=python2.7
deps =
Django>=1.6,<1.7
{[base]deps}
[testenv:py27-django17]
basepython=python2.7
deps =
Django>=1.7,<1.8
{[base]deps}
[testenv:py27-django18]
basepython=python2.7
deps =
Django>=1.8,<1.9
{[base]deps}
[testenv:py27-django19]
basepython=python2.7
deps =
Django>=1.9,<1.10
{[base]deps}
[testenv:py34-django15]
basepython=python3.4
deps =
Django>=1.5,<1.6
{[base]deps}
[testenv:py34-django16]
basepython=python3.4
deps =
Django>=1.6,<1.7
{[base]deps}
[testenv:py34-django17]
basepython=python3.4
deps =
Django>=1.7,<1.8
{[base]deps}
[testenv:py34-django18]
basepython=python3.4
deps =
Django>=1.8,<1.9
{[base]deps}
[testenv:py34-django19]
basepython=python3.4
deps =
Django>=1.9,<1.10
{[base]deps}
[testenv:py34-django20]
basepython=python3.4
deps =
Django>=2.0,<2.1
{[base]deps}
[testenv:py35-django18]
basepython=python3.5
deps =
Django>=1.8,<1.9
{[base]deps}
[testenv:py35-django19]
basepython=python3.5
deps =
Django>=1.9,<1.10
{[base]deps}
[testenv:py35-django20]
basepython=python3.5
deps =
Django>=2.0,<2.1
{[base]deps}
[testenv:flake8]
basepython=python
deps=flake8
commands=flake8 {toxinidir}/django_cas_ng