test against Django 2.2 (#51516)
This commit is contained in:
parent
5db78cd58e
commit
24f26c6e4d
2
setup.py
2
setup.py
|
@ -107,7 +107,7 @@ setup(
|
||||||
'Programming Language :: Python :: 2',
|
'Programming Language :: Python :: 2',
|
||||||
],
|
],
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'django>=1.10,<2',
|
'django<2.3',
|
||||||
'isodate',
|
'isodate',
|
||||||
'psycopg2',
|
'psycopg2',
|
||||||
'jsonschema',
|
'jsonschema',
|
||||||
|
|
4
tox.ini
4
tox.ini
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
[tox]
|
[tox]
|
||||||
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/zoo/{env:BRANCH_NAME:}
|
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/zoo/{env:BRANCH_NAME:}
|
||||||
envlist = py3-coverage
|
envlist = py3-{dj111,dj22}-coverage
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
# django.contrib.auth is not tested it does not work with our templates
|
# django.contrib.auth is not tested it does not work with our templates
|
||||||
|
@ -21,6 +21,8 @@ usedevelop =
|
||||||
coverage: True
|
coverage: True
|
||||||
nocoverage: False
|
nocoverage: False
|
||||||
deps =
|
deps =
|
||||||
|
dj111: django<2
|
||||||
|
dj22: django<2.3
|
||||||
pip>8
|
pip>8
|
||||||
pytest-flakes
|
pytest-flakes
|
||||||
pg: psycopg2
|
pg: psycopg2
|
||||||
|
|
Loading…
Reference in New Issue