tox: only run against django 2.2

This commit is contained in:
Frédéric Péters 2021-08-16 08:07:35 +02:00
parent bb56ce3796
commit 0bb836cc7a
1 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,6 @@
[tox]
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/passerelle-minint/{env:BRANCH_NAME:}
envlist = py3-django111,py3-django22
envlist = py3-django22-tests
[testenv]
usedevelop = True
@ -9,7 +9,6 @@ setenv =
PASSERELLE_SETTINGS_FILE=tests/settings.py
SETUPTOOLS_USE_DISTUTILS=stdlib
deps =
django111: django>=1.11,<1.12
django22: django>=2.2,<2.3
git+https://git.entrouvert.org/passerelle.git
django-webtest
@ -20,4 +19,4 @@ deps =
httmock
xmlschema<1.1
commands =
django111: py.test {posargs: --junitxml=junit-{envname}.xml tests/}
py.test {posargs: --junitxml=junit-{envname}.xml tests/}