forked from bennylope/django-organizations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
115 lines (98 loc) · 2.24 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
[tox]
envlist =
flake8,
py27-django14,
py27-django15,
py27-django16,
py27-django17,
py33-django15,
py33-django16,
py33-django17,
py34-django16,
py34-django17
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/organizations
commands = python runtests.py
deps =
-r{toxinidir}/requirements-test.txt
[testenv:py26-django14]
basepython = python2.6
deps =
Django>=1.4.2,<1.5
-r{toxinidir}/requirements-test.txt
[testenv:py26-django15]
basepython = python2.6
deps =
Django>=1.5,<1.6
-r{toxinidir}/requirements-test.txt
[testenv:py26-django16]
basepython = python2.6
deps =
Django>=1.6,<1.7
-r{toxinidir}/requirements-test.txt
[testenv:py27-django14]
basepython = python2.7
deps =
Django>=1.4.2,<1.5
-r{toxinidir}/requirements-test.txt
[testenv:py27-django15]
basepython = python2.7
deps =
Django>=1.5,<1.6
-r{toxinidir}/requirements-test.txt
[testenv:py27-django16]
basepython = python2.7
deps =
Django>=1.6,<1.7
-r{toxinidir}/requirements-test.txt
[testenv:py27-django17]
basepython = python2.7
deps =
-egit+git://github.com/django/django.git@stable/1.7.x#egg=Django
-r{toxinidir}/requirements-test.txt
[testenv:py33-django15]
basepython = python3.3
deps =
Django>=1.5,<1.6
-r{toxinidir}/requirements-test.txt
[testenv:py33-django16]
basepython = python3.3
deps =
Django>=1.6,<1.7
-r{toxinidir}/requirements-test.txt
[testenv:py33-django17]
basepython = python3.3
deps =
-egit+git://github.com/django/django.git@stable/1.7.x#egg=Django
-r{toxinidir}/requirements-test.txt
[testenv:py34-django16]
basepython = python3.4
deps =
Django>=1.6,<1.7
-r{toxinidir}/requirements-test.txt
[testenv:py34-django17]
basepython = python3.4
deps =
-egit+git://github.com/django/django.git@stable/1.7.x#egg=Django
-r{toxinidir}/requirements-test.txt
[testenv:pypy-django16]
basepython = pypy
deps =
Django>=1.6,<1.7
-r{toxinidir}/requirements-test.txt
[testenv:jython-django16]
basepython = jython
deps =
Django>=1.6,<1.7
-r{toxinidir}/requirements-test.txt
[testenv:flake8]
basepython=python
deps=flake8
commands=
flake8 organizations
[flake8]
ignore = E126,E128
max-line-length = 99
exclude = migrations
max-complexity = 10