forked from AltSchool/dynamic-rest
-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
40 lines (36 loc) · 1.04 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
[pytest]
addopts=--tb=short
[tox]
envlist =
py27-lint,
{py27,py34,py35}-django18-drf{31,32,33,34},
{py27,py34,py35}-django111-drf{34,35,36,37},
{py35}-django20-drf37,
[testenv]
commands = ./runtests.py --fast {posargs} --coverage -rw
setenv =
PYTHONDONTWRITEBYTECODE=1
deps =
django18: Django==1.8.14
django19: Django==1.9.9
django110: Django==1.10.0
django111: Django==1.11.2
django20: Django==2.0.1
drf31: djangorestframework==3.1.0
drf32: djangorestframework==3.2.0
drf33: djangorestframework==3.3.0
drf34: djangorestframework==3.4.0
drf35: djangorestframework==3.5.0
drf36: djangorestframework==3.6.2
drf37: djangorestframework==3.7.7
-rrequirements.test.txt
[testenv:py27-lint]
commands = ./runtests.py --lintonly
deps =
-rrequirements.txt
[testenv:py27-drf37-benchmarks]
commands = ./runtests.py --benchmarks
deps =
Django==1.11.2
djangorestframework==3.7.7
-rrequirements.benchmark.txt