forked from AltSchool/dynamic-rest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
38 lines (34 loc) · 1.01 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
[pytest]
addopts=--tb=short
[tox]
envlist =
py27-lint,
{py27,py33,py34,py35}-django18-drf{31,32,33,34},
{py27,py34,py35}-django19-drf{32,33,34},
{py27,py34,py35}-django110-drf{34,35,36},
{py27,py34,py35}-django111-drf{34,35,36},
[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
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
-rrequirements.txt
[testenv:py27-lint]
commands = ./runtests.py --lintonly
deps =
-rrequirements.txt
[testenv:py27-drf33-benchmarks]
commands = ./runtests.py --benchmarks
deps =
drf33: djangorestframework==3.3.0
-rrequirements.txt