tox: stop testing against django 1.11

This commit is contained in:
Frédéric Péters 2021-07-03 14:44:36 +02:00
parent e3b486c628
commit f430283945
1 changed files with 3 additions and 5 deletions

View File

@ -5,7 +5,7 @@
[tox]
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/bijoe/{env:BRANCH_NAME:}
envlist = py3-dj111,py3-dj22
envlist = py3-dj22
[testenv]
usedevelop = true
@ -15,7 +15,6 @@ setenv =
SETUPTOOLS_USE_DISTUTILS=stdlib
coverage: COVERAGE=--junit-xml=test_results.xml --cov=bijoe --cov-report xml
deps =
dj111: django>=1.11,<1.12
dj22: django>=2.2,<2.3
coverage
pytest
@ -28,10 +27,9 @@ deps =
pyquery
tabulate
dj22: djangorestframework>=3.7
dj111: https://git.entrouvert.org/hobo.git/snapshot/hobo-main.tar.gz
dj22: https://git.entrouvert.org/hobo.git/snapshot/hobo-main.tar.gz
commands =
py3-dj111: py.test {posargs: --junitxml=test_{envname}_results.xml --cov-report xml --cov-report html --cov=bijoe tests/}
py3-dj22: py.test {posargs: --ignore=tests/test_hobo_deploy.py --ignore=tests/test_hobo_agent.py --junitxml=test_{envname}_results.xml --cov-report xml --cov-report html --cov=bijoe tests/}
py3-dj22: py.test {posargs: --junitxml=test_{envname}_results.xml --cov-report xml --cov-report html --cov=bijoe tests/}
[pytest]
filterwarnings =
once:.*