Merge branch 'kerl/bump-ci-versions' into 'master'

Bump python and Django versions in CI

See merge request klub-dev-ens/authens!35
This commit is contained in:
Tom Hubrecht 2021-10-10 19:16:11 +02:00
commit a5682f0674
2 changed files with 18 additions and 13 deletions

View file

@ -35,32 +35,37 @@ before_script:
- apt-get update -q && apt-get -o dir::cache::archives="vendor/apt" install -yqq python3-dev libldap2-dev libsasl2-dev - apt-get update -q && apt-get -o dir::cache::archives="vendor/apt" install -yqq python3-dev libldap2-dev libsasl2-dev
- pip install tox - pip install tox
python35:
image: python:3.5
stage: tests
script:
- tox -e py35-django22
python36: python36:
image: python:3.6 image: python:3.6
stage: tests stage: tests
script: script:
- tox -e py36-django22 - tox -e py36-django22
- tox -e py36-django30 - tox -e py36-django31
- tox -e py36-django32
python37: python37:
image: python:3.7 image: python:3.7
stage: tests stage: tests
script: script:
- tox -e py37-django22 - tox -e py37-django22
- tox -e py37-django30 - tox -e py37-django31
- tox -e py37-django32
python38: python38:
image: python:3.8 image: python:3.8
stage: tests stage: tests
script: script:
- tox -e py38-django22 - tox -e py38-django22
- tox -e py38-django30 - tox -e py38-django31
- tox -e py38-django32
python39:
image: python:3.9
stage: tests
script:
- tox -e py39-django22
- tox -e py39-django31
- tox -e py39-django32
# --- # ---
# Release artifacts # Release artifacts

View file

@ -1,12 +1,12 @@
[tox] [tox]
envlist = envlist =
py{35,36,37,38}-django22, py{36,37,38,39}-django{22,31,32}
py{36,37,38}-django30
[testenv] [testenv]
deps = deps =
django22: Django==2.2.* django22: Django>=2.2.17,<3
django30: Django==3.0.* django31: Django==3.1.*
django32: Django==3.2.*
python-cas python-cas
python-ldap python-ldap
commands = commands =