forked from alanjds/drf-nested-routers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
38 lines (34 loc) · 882 Bytes
/
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
[tox]
envlist =
{py36,py37,py38,py39,py310,py311}-django{2.2,3.0,3.1,3.2}-drf{3.11,3.12,3.13}
{py38,py39,py310,py311}-django{4.0}-drf{3.12,3.13}
[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
[testenv]
commands = ./runtests.py --nolint
setenv =
PYTHONDONTWRITEBYTECODE=1
deps =
django2.2: Django>=2.2,<2.3
django3.0: Django>=3.0,<3.1
django3.1: Django>=3.1,<3.2
django3.2: Django>=3.2,<3.3
django4.0: Django>=4.0,<4.1
drf3.11: djangorestframework>=3.11,<3.12
drf3.12: djangorestframework>=3.12,<3.13
drf3.13: djangorestframework>=3.13,<3.14
-rrequirements-tox.txt
[testenv:py39-flake8]
commands = ./runtests.py --lintonly
deps =
-rrequirements-tox.txt
[testenv:py39-docs]
commands = mkdocs build
deps =
mkdocs>=1.3.0