forked from GeoNode/dynamic-rest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
34 lines (30 loc) · 844 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
[pytest]
addopts=--tb=short
[tox]
envlist =
py37-lint,
{py35,py36,py37}-django{111,20,21,22}-drf{38,39,310,311},
[testenv]
commands = ./runtests.py --fast {posargs} --coverage -rw
setenv =
PYTHONDONTWRITEBYTECODE=1
deps =
django111: Django==1.11.29
django20: Django==2.0.13
django21: Django==2.1.15
django22: Django==2.2.12
drf38: djangorestframework==3.8.2
drf39: djangorestframework==3.9.4
drf310: djangorestframework==3.10.3
drf311: djangorestframework==3.11.0
-rrequirements.txt
[testenv:py37-lint]
commands = ./runtests.py --lintonly
deps =
-rrequirements.txt
[testenv:py37-drf311-benchmarks]
commands = ./runtests.py --benchmarks
deps =
Django==2.2.12
djangorestframework==3.11.0
-rrequirements.benchmark.txt