Skip to content

Commit fe392a7

Browse files
committed
Start testing with Django 2.2 by default
1 parent b61fee3 commit fe392a7

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ python:
77
env:
88
# note: latest versions first b/c the top-most is included in new
99
# build stages if not specified
10-
- DJANGO=2.1
10+
- DJANGO=2.2
1111
stages:
1212
- django_not_installed
1313
- django_is_installed

tox.ini

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ envlist =
99
pylint
1010
readme
1111
py{36}-django{111,20,-master}
12-
py{35,36,37}-django21
12+
py{35,36,37}-django22
1313

1414
[testenv]
1515
commands =
@@ -19,7 +19,7 @@ commands =
1919
pylint: pylint --rcfile=tox.ini -d missing-docstring,too-many-branches,too-many-return-statements,too-many-ancestors,fixme --ignore=tests pylint_django setup
2020
readme: bash -c \'python setup.py -q sdist && twine check dist/*\'
2121
py{36}-django{111,20,-master}: coverage run pylint_django/tests/test_func.py -v
22-
py{35,36,37}-django21: coverage run pylint_django/tests/test_func.py -v
22+
py{35,36,37}-django22: coverage run pylint_django/tests/test_func.py -v
2323
clean: find . -type f -name '*.pyc' -delete
2424
clean: find . -type d -name __pycache__ -delete
2525
clean: rm -rf build/ .cache/ dist/ .eggs/ pylint_django.egg-info/ .tox/
@@ -32,6 +32,7 @@ deps =
3232
django111: Django>=1.11,<2.0
3333
django20: Django>=2.0,<2.1
3434
django21: Django>=2.1,<2.2
35+
django22: Django>=2.2,<3.0
3536
django-master: Django
3637
django-master: git+https://github.com/pycqa/astroid@master
3738
django-master: git+https://github.com/pycqa/pylint@master
@@ -42,7 +43,7 @@ whitelist_externals =
4243
django_not_installed: bash
4344
readme: bash
4445
py{36}-django{111,20,-master}: coverage
45-
py{35,36,37}-django21: coverage
46+
py{35,36,37}-django22: coverage
4647
clean: find
4748
clean: rm
4849
@@ -51,6 +52,7 @@ DJANGO =
5152
1.11: django111
5253
2.0: django20
5354
2.1: django21
55+
2.2: django22
5456
master: django-master
5557
5658
[flake8]

0 commit comments

Comments
 (0)