forked from chibisov/drf-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
27 lines (25 loc) · 850 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
[tox]
envlist = py{36,37,38}-django{22}-drf{39,310,311,312}
py{36,37,38}-django{30}-drf{310,311,312}
py{36,37,38}-django{31}-drf{311,312}
[testenv]
deps=
-rtests_app/requirements.txt
django-guardian>=1.4.4
drf39: djangorestframework>=3.9.3,<3.10
djangorestframework-guardian
drf310: djangorestframework>=3.10,<3.11
djangorestframework-guardian
drf311: djangorestframework>=3.11,<3.12
djangorestframework-guardian
drf312: djangorestframework>=3.12,<3.13
djangorestframework-guardian
django22: Django>=2.2,<3.0
django30: Django>=3.0,<3.1
django31: Django>=3.1,<3.2
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/tests_app
commands =
python --version
pip freeze
python -Wd {envbindir}/django-admin.py test --settings=settings {posargs}