forked from django-json-api/django-rest-framework-json-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
38 lines (33 loc) · 1.06 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
[tox]
envlist =
py27-df11-django111-drf{36,37,38,39}
py{34,35,36}-df20-django111-drf{36,37,38,39,master},
py{34,35,36}-df20-django20-drf{37,38,39,master},
py37-df20-django20-drf{39,master},
py{35,36,37}-df20-django21-drf{39,master},
[testenv]
deps =
django111: Django>=1.11,<1.12
django20: Django>=2.0,<2.1
django21: Django>=2.1,<2.2
drf36: djangorestframework>=3.6.3,<3.7
drf37: djangorestframework>=3.7.0,<3.8
drf38: djangorestframework>=3.8.0,<3.9
drf39: djangorestframework>=3.9.0,<3.10
drfmaster: https://github.com/encode/django-rest-framework/archive/master.zip
df11: django-filter<=1.1
df20: django-filter>=2.0
setenv =
PYTHONPATH = {toxinidir}
DJANGO_SETTINGS_MODULE=example.settings.test
commands =
python setup.py test --addopts '--cov --no-cov-on-fail --cov-report xml' {posargs}
[testenv:flake8]
deps =
-rrequirements-development.txt
commands = flake8
[testenv:sphinx]
deps =
-rrequirements-development.txt
commands =
sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html