tox: stop testing against django 1.11 (#57155)

This commit is contained in:
Emmanuel Cazenave 2021-09-21 15:38:44 +02:00
parent 3e876668a0
commit aa2b3dcaf6
1 changed files with 1 additions and 7 deletions

View File

@ -1,18 +1,14 @@
[tox]
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/docbow/{env:BRANCH_NAME:}
envlist = py3-{django111,django22}-{pw,pfwb}-coverage,py3-{django111,django22}-mellon-coverage,py3-django11120, py3-{django111,django22}-pfwbmellon-coverage, black
envlist = py3-django22-{pw,pfwb}-coverage,py3-django22-mellon-coverage,py3-django22-pfwbmellon-coverage, black
[testenv]
usedevelop = True
deps =
setuptools<50
M2Crypto
django111: django<2
django22: django>=2.2,<2.3
django111: django-tables2<2.0
pfwb: SQLAlchemy-Utils<0.36.7
django11120: django==1.11.20
django11120: django-tables2<2.0
django-webtest
mock<4
psycopg2<2.9
@ -28,7 +24,6 @@ setenv =
SECRET_KEY=changeme
pw: PARLEMENT=pw
pfwb: PARLEMENT=pfwb
django11120: PARLEMENT=pw
DJANGO_SETTINGS_MODULE=docbow_project.settings
DOCBOW_SETTINGS_FILE=tests/settings.py
mellon: DOCBOW_SETTINGS_FILE=tests/sso/settings.py
@ -40,6 +35,5 @@ commands =
pw: py.test {posargs: {env:COVERAGE:} --junitxml=junit-{envname}.xml tests/main/ tests/pw/}
pfwb: py.test {posargs: {env:COVERAGE:} --junitxml=junit-{envname}.xml tests/main/ tests/pfwb/}
mellon: py.test {posargs: {env:COVERAGE:} --junitxml=junit-{envname}.xml tests/sso/}
django11120: py.test {posargs: --junitxml=junit-{envname}.xml tests/main/test_main.py}
pfwbmellon: py.test {posargs: {env:COVERAGE:} --junitxml=junit-{envname}.xml tests/pfwbmellon/}
black: pre-commit run black --all-files --show-diff-on-failure