-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
35 lines (31 loc) · 915 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
[pytest]
addopts=--tb=short
[tox]
envlist =
py37-lint,
{py36,py37,py38}-django{20,21,22,31,32}-drf{38,39,310,311,312},
[testenv]
commands = ./runtests.py --fast {posargs} --coverage -rw
setenv =
PYTHONDONTWRITEBYTECODE=1
deps =
django20: Django==2.0.13
django21: Django==2.1.15
django22: Django==2.2.12
django31: Django==3.1.13
django32: Django==3.2.7
drf38: djangorestframework==3.8.2
drf39: djangorestframework==3.9.4
drf310: djangorestframework==3.10.3
drf311: djangorestframework==3.11.0
drf312: djangorestframework==3.12.4
-rrequirements.txt
[testenv:py37-lint]
commands = ./runtests.py --lintonly
deps = -rrequirements.txt
[testenv:py38-drf312-benchmarks]
commands = ./runtests.py --benchmarks
deps =
Django==3.2.7
djangorestframework==3.12.4
-rrequirements.benchmark.txt