Skip to content

Commit 34b72d6

Browse files
committed
Simplified tox.ini
1 parent 6defcf9 commit 34b72d6

File tree

1 file changed

+7
-20
lines changed

1 file changed

+7
-20
lines changed

tox.ini

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,28 @@
11
[tox]
22
envlist =
3-
py35-lint,
4-
{py34,py35,py36}-django2.0-drf3.{7,8,9}
5-
{py35,py36}-django2.{1,2}-drf3.{8,9}
6-
{py37}-django3.0-drf3.{11}
7-
{py38}-django3.0-drf3.{11}
8-
{py36,py37,py38}-django2.2-drf3.11-df2.2.0
3+
py39-lint,
4+
{py38}-django2.{0,1,2}-drf3.{7,8,9}-df2.2
5+
{py38,py39}-django3.{0,1}-drf3.{11,12}-df2.2
96

107
[testenv]
118
commands = coverage run --source=rest_framework_datatables example/manage.py test --noinput
129
setenv =
1310
PYTHONDONTWRITEBYTECODE=1
1411
deps =
1512
coverage
16-
django1.9: Django>=1.9,<1.10
17-
django1.10: Django>=1.10,<1.11
18-
django1.11: Django>=1.11,<2.0
1913
django2.0: Django>=2.0,<2.1
2014
django2.1: Django>=2.1,<2.2
2115
django2.2: Django>=2.2,<3.0
2216
django3.0: Django>=3.0,<3.1
23-
drf3.5: djangorestframework>=3.5,<3.6
24-
drf3.6: djangorestframework>=3.6,<3.7
17+
django3.1: Django>=3.1,<3.2
2518
drf3.7: djangorestframework>=3.7,<3.8
2619
drf3.8: djangorestframework>=3.8,<3.9
2720
drf3.9: djangorestframework>=3.9,<3.10
2821
drf3.11: djangorestframework>=3.11,<3.12
29-
df2.2.0: django-filter>=2.2.0
22+
drf3.12: djangorestframework>=3.12,<3.13
23+
df2.2: django-filter>=2.2.0
3024

31-
[testenv:py35-lint]
25+
[testenv:py39-lint]
3226
commands = pycodestyle rest_framework_datatables
3327
deps =
3428
pycodestyle>=2.3.0
35-
36-
[testenv:djangofilter]
37-
commands =
38-
{[testenv]commands}
39-
# to be extended by an additional test command
40-
deps = {[testenv]deps}
41-
django-filter>=2.2.0

0 commit comments

Comments
 (0)