forked from chibisov/drf-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
22 lines (21 loc) · 660 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
[tox]
envlist = py{35,36,37}-django{111}-drf39,
py{35,36,37}-django{21,22}-drf39
py{35,36,37}-django{21,22}-drf310
[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
django111: Django>=1.11,<2.0
django21: Django>=2.1,<2.2
django22: Django>=2.2,<3.0
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/tests_app
commands =
python --version
pip freeze
python -Wd {envbindir}/django-admin.py test --settings=settings {posargs}