django22: declare django2.2 in setup and tox (#49188)

This commit is contained in:
Lauréline Guérin 2020-12-10 14:59:52 +01:00
parent 9ab90f4b06
commit 6da74de6ce
No known key found for this signature in database
GPG Key ID: 1FAB9B9B4F93D473
2 changed files with 3 additions and 2 deletions

View File

@ -98,7 +98,7 @@ setup(name='passerelle',
scripts=['manage.py'],
include_package_data=True,
install_requires=[
'django >= 1.8, <1.12',
'django >= 1.11, <2.3',
'django-model-utils<4',
'requests',
'gadjo',

View File

@ -1,6 +1,6 @@
[tox]
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/passerelle/{env:BRANCH_NAME:}
envlist = py3-django111-coverage
envlist = py3-django111-coverage,py3-django22
[testenv]
usedevelop = True
@ -14,6 +14,7 @@ setenv =
coverage: COVERAGE=--junitxml=junit-{envname}.xml --cov-report xml --cov-report html --cov=passerelle/ --cov-config .coveragerc -Wignore
deps =
django111: django>=1.11,<1.12
django22: django>=2.2,<2.3
psycopg2-binary
pytest-cov
pytest-django