test against Django 2.2 (#51516)

This commit is contained in:
Benjamin Dauvergne 2021-03-01 12:12:22 +01:00
parent 5db78cd58e
commit 24f26c6e4d
2 changed files with 4 additions and 2 deletions

View File

@ -107,7 +107,7 @@ setup(
'Programming Language :: Python :: 2',
],
install_requires=[
'django>=1.10,<2',
'django<2.3',
'isodate',
'psycopg2',
'jsonschema',

View File

@ -5,7 +5,7 @@
[tox]
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/zoo/{env:BRANCH_NAME:}
envlist = py3-coverage
envlist = py3-{dj111,dj22}-coverage
[testenv]
# django.contrib.auth is not tested it does not work with our templates
@ -21,6 +21,8 @@ usedevelop =
coverage: True
nocoverage: False
deps =
dj111: django<2
dj22: django<2.3
pip>8
pytest-flakes
pg: psycopg2