|
1 | 1 | [tox]
|
2 | 2 | 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 |
9 | 6 |
|
10 | 7 | [testenv]
|
11 | 8 | commands = coverage run --source=rest_framework_datatables example/manage.py test --noinput
|
12 | 9 | setenv =
|
13 | 10 | PYTHONDONTWRITEBYTECODE=1
|
14 | 11 | deps =
|
15 | 12 | 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 |
19 | 13 | django2.0: Django>=2.0,<2.1
|
20 | 14 | django2.1: Django>=2.1,<2.2
|
21 | 15 | django2.2: Django>=2.2,<3.0
|
22 | 16 | 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 |
25 | 18 | drf3.7: djangorestframework>=3.7,<3.8
|
26 | 19 | drf3.8: djangorestframework>=3.8,<3.9
|
27 | 20 | drf3.9: djangorestframework>=3.9,<3.10
|
28 | 21 | 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 |
30 | 24 |
|
31 |
| -[testenv:py35-lint] |
| 25 | +[testenv:py39-lint] |
32 | 26 | commands = pycodestyle rest_framework_datatables
|
33 | 27 | deps =
|
34 | 28 | 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