tox.ini: do not run environments with Django 1.11

This commit is contained in:
Benjamin Dauvergne 2021-07-02 08:55:03 +02:00
parent bf360318d4
commit 4650f3fcb0
2 changed files with 1 additions and 4 deletions

2
Jenkinsfile vendored
View File

@ -14,7 +14,7 @@ pipeline {
sh """
python3 -m venv ${env.TMPDIR}/venv/
${env.TMPDIR}/venv/bin/pip install tox
PGPORT=`python -c 'import struct; import socket; s=socket.socket(); s.setsockopt(socket.SOL_SOCKET, socket.SO_LINGER, struct.pack("ii", 1, 0)); s.bind(("", 0)); print(s.getsockname()[1]); s.close()'` pg_virtualenv -o fsync=off ${env.TMPDIR}/venv/bin/tox -rv -e code-style,rbac-py3-dj111,authentic-py3-dj111-drf39,authentic-py3-dj22-drf39,pylint"""
PGPORT=`python -c 'import struct; import socket; s=socket.socket(); s.setsockopt(socket.SOL_SOCKET, socket.SO_LINGER, struct.pack("ii", 1, 0)); s.bind(("", 0)); print(s.getsockname()[1]); s.close()'` pg_virtualenv -o fsync=off ${env.TMPDIR}/venv/bin/tox -rv -e code-style,authentic-py3-dj22-drf39,pylint"""
}
post {
always {

View File

@ -7,16 +7,13 @@
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/authentic/
envlist =
code-style
authentic-py3-dj111-drf39
authentic-py3-dj22-drf39
[tox:jenkins]
envlist =
pylint
rbac-py3-dj111
rbac-py3-dj22
authentic-py3-dj111-drf39
authentic-py3-dj22-drf39
[testenv]