forked from beda-software/drf-writable-nested
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
36 lines (33 loc) · 813 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
[pytest]
addopts=--tb=short
[tox]
envlist =
py{27,35}-dj{19}-drf{35,36}
py{27,35,36,37}-dj{110,111}-drf{35,36,37}
py{35,36,37}-dj{20,21,22}-drf{37,38,39}
[travis:env]
DJANGO =
1.9: dj19
1.10: dj110
1.11: dj111
2.0: dj20
2.1: dj21
2.2: dj22
[testenv]
commands = ./py.test --cov drf_writable_nested
setenv =
PYTHONDONTWRITEBYTECODE=1
PYTHONWARNINGS=once
deps =
dj19: Django>=1.9,<1.10
dj110: Django>=1.10,<1.11
dj111: Django>=1.11a1,<2.0
dj20: Django>=2.0,<2.1
dj21: Django>=2.1,<2.2
dj22: Django>=2.2,<2.3
drf35: djangorestframework>=3.5,<3.6
drf36: djangorestframework>=3.6.0,<3.7
drf37: djangorestframework>=3.7.0,<3.8
drf38: djangorestframework>=3.8.0,<3.9
drf39: djangorestframework>=3.9.0,<3.10
-rrequirements.txt