-
Notifications
You must be signed in to change notification settings - Fork 18
/
tox.ini
38 lines (36 loc) · 930 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
[tox]
envlist =
{py36}-django{111}-drf{311}
{py37}-django{111}-drf{311}
{py36}-django{2latest,3latest}-drf{3latest}
{py37}-django{2latest,3latest}-drf{3latest}
{py38}-django{3latest,4latest}-drf{3latest}
{py39}-django{3latest,4latest}-drf{3latest}
{py310}-django{3latest,4latest,5latest}-drf{3latest}
{py311}-django{4latest,5latest}-drf{3latest}
{py312}-django{4latest,5latest}-drf{3latest}
[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
[testenv]
setenv =
PYTHONWARNINGS=once::DeprecationWarning
commands =
python runtests.py
deps =
pytest
pytest-django
django-ipware>=2.1.0,<3.0
drf3latest: djangorestframework>=3.0,<4.0
drf311: djangorestframework>=3.0,<3.12
django111: Django>=1.11,<2.0
django2latest: Django>=2.0,<3.0
django3latest: Django>=3.0,<4.0
django4latest: Django>=4.0,<5.0
django5latest: Django>=5.0,<6.0