forked from marcgibbons/django-rest-swagger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
42 lines (38 loc) · 876 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
37
38
39
40
41
42
[tox]
skipsdist=True
envlist =
latest
{py27,py36}-django{18,19,110,111}-drf{35,36}
{py27,py36}-django{110,111}-drf{37,38}
{py36}-django{2}-drf{37,38}
lint
[testenv]
commands = ./runtests.py
deps =
coreapi
coverage
mock
openapi-codec
simplejson
drf35: djangorestframework>=3.5.3,<3.6
drf36: djangorestframework>=3.6.0,<3.7
drf37: djangorestframework>=3.7.0,<3.8
drf38: djangorestframework>=3.8.0,<3.9
django18: Django>=1.8,<1.9
django19: Django>=1.9,<1.10
django110: Django>=1.10,<1.11
django111: Django>=1.11,<2.0
django2: Django>=2.0,<2.1
[testenv:latest]
commands = coverage run runtests.py
pip_pre = True
deps =
Django
coreapi
openapi-codec
simplejson
coverage
djangorestframework
[testenv:lint]
commands = pylint rest_framework_swagger tests
deps = -rrequirements.txt