1
1
[tox]
2
2
envlist =
3
- py36-django20-drf{38,39}-tests
4
- py37-django21-drf{39,310}-tests
5
- py37-django22-drf{39,310,311}-tests
6
- py38-django{30,master}-drf{310,311}-tests
3
+ py{38,39}-django{22,30}-drf310-tests
4
+ py{38,39}-django{22,30,31}-drf{311,312}-tests
5
+ py39-djangomaster-drf312-tests
7
6
lint
8
7
docs
9
8
@@ -16,12 +15,11 @@ commands=
16
15
tests: pytest {posargs:tests} --cov =rest_framework_simplejwt
17
16
docs: make build-docs
18
17
commands_post =
19
- py38-django30-drf310 : codecov -e TOXENV
18
+ py39-django31-drf312 : codecov -e TOXENV
20
19
basepython =
21
- docs: python3.7
22
- py36: python3.6
23
- py37: python3.7
20
+ docs: python3.8
24
21
py38: python3.8
22
+ py39: python3.9
25
23
extras =
26
24
test
27
25
python-jose
@@ -31,20 +29,18 @@ setenv=
31
29
passenv =
32
30
CODECOV_TOKEN
33
31
deps =
34
- django20: Django>=2.0,<2.1
35
- django21: Django>=2.1,<2.2
36
32
django22: Django>=2.2,<2.3
37
33
django30: Django>=3.0,<3.1
38
- drf38: djangorestframework>=3.8,<3.9
39
- drf39: djangorestframework>=3.9,<3.10
34
+ django31: Django>=3.1,<3.2
40
35
drf310: djangorestframework>=3.10,<3.11
41
36
drf311: djangorestframework>=3.11,<3.12
42
- py38-django30-drf310: codecov
37
+ drf312: djangorestframework>=3.12,<3.13
38
+ py39-django31-drf312: codecov
43
39
djangomaster: https://github.com/django/django/archive/master.tar.gz
44
40
whitelist_externals =make
45
41
46
42
[testenv:lint]
47
- basepython =python3.7
43
+ basepython =python3.8
48
44
extras =lint
49
45
commands =
50
46
flake8 {toxinidir}/rest_framework_simplejwt {toxinidir}/tests
0 commit comments