Skip to content

Commit 017241e

Browse files
committed
Start testing with Django 3.1 b/c it was released today
1 parent 927dc1e commit 017241e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ matrix:
1919
include:
2020
- { stage: django_not_installed, python: 3.6, env: TOXENV=django_not_installed }
2121
- { stage: django_is_installed, python: 3.6, env: TOXENV=django_is_installed }
22+
- { stage: test, python: 3.8, env: DJANGO=3.1 }
2223
- { stage: test, python: 3.6, env: DJANGO=3.0 }
2324
- { stage: test, python: 3.6, env: DJANGO=2.0 }
2425
- { stage: test, python: 3.6, env: DJANGO=1.11 }

tox.ini

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ envlist =
1010
readme
1111
py{36}-django{111,20,-master}
1212
py{35,36,37}-django22
13-
py{36,37,38}-django30
13+
py{36,37,38}-django{30,31}
1414

1515
[testenv]
1616
commands =
@@ -21,7 +21,7 @@ commands =
2121
readme: bash -c \'python setup.py -q sdist && twine check dist/*\'
2222
py{36}-django{111,20,-master}: coverage run pylint_django/tests/test_func.py -v
2323
py{35,36,37}-django22: coverage run pylint_django/tests/test_func.py -v
24-
py{36,37,38}-django30: coverage run pylint_django/tests/test_func.py -v
24+
py{36,37,38}-django{30,31}: coverage run pylint_django/tests/test_func.py -v
2525
clean: find . -type f -name '*.pyc' -delete
2626
clean: find . -type d -name __pycache__ -delete
2727
clean: rm -rf build/ .cache/ dist/ .eggs/ pylint_django.egg-info/ .tox/
@@ -36,6 +36,7 @@ deps =
3636
django21: Django>=2.1,<2.2
3737
django22: Django>=2.2,<3.0
3838
django30: Django>=3.0,<3.1
39+
django31: Django>=3.1,<3.2
3940
django-master: Django
4041
django-master: git+https://github.com/pycqa/astroid@master
4142
django-master: git+https://github.com/pycqa/pylint@master
@@ -47,7 +48,7 @@ whitelist_externals =
4748
readme: bash
4849
py{36}-django{111,20,-master}: coverage
4950
py{35,36,37}-django22: coverage
50-
py{36,37,38}-django30: coverage
51+
py{36,37,38}-django{30,31}: coverage
5152
clean: find
5253
clean: rm
5354
@@ -58,6 +59,7 @@ DJANGO =
5859
2.1: django21
5960
2.2: django22
6061
3.0: django30
62+
3.1: django31
6163
master: django-master
6264
6365
[flake8]

0 commit comments

Comments
 (0)