-
Notifications
You must be signed in to change notification settings - Fork 95
/
tox.ini
63 lines (59 loc) · 1.4 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
[tox]
envlist =
py27-{flake8,docs},
{py27,py34,py35,py36}-django1.11-drf{3.5,3.6,3.7,3.8,3.9},
{py34,py35,py36,py37}-django2.0-drf{3.7,3.8,3.9,3.10},
{py35,py36,py37}-django2.1-drf{3.7,3.8,3.9,3.10},
{py35,py36,py37}-django2.2-drf{3.7,3.8,3.9,3.10},
[testenv]
commands = ./runtests.py --fast
passenv =
DATABASE_URL
setenv =
PYTHONDONTWRITEBYTECODE=1
deps =
django1.11: django~=1.11.1
django2.0: django~=2.0.9
django2.1: django~=2.1.2
django2.2: django~=2.2.6
drf3.5: djangorestframework~=3.5.3
drf3.6: djangorestframework~=3.6.2
drf3.7: djangorestframework~=3.7.7
drf3.8: djangorestframework~=3.8.2
drf3.9: djangorestframework~=3.9.4
drf3.10: djangorestframework~=3.10.3
pytest-django
django-environ
flaky
mock
basepython =
py27: python2.7
py34: python3.4
py35: python3.5
py36: python3.6
py37: python3.7
[testenv:py27-flake8]
commands = ./runtests.py --lintonly
deps =
pytest>=2.7
flake8>=2.4
[travis]
python =
2.7: py27
3.4: py34
3.5: py35
3.6: py36
3.7: py37
[travis:env]
DJANGO =
1.11: django1.11
2.0: django2.0
2.1: django2.1
2.2: django2.2
DRF =
3.5: drf3.5
3.6: drf3.6
3.7: drf3.7
3.8: drf3.8
3.9: drf3.9
3.10: drf3.10