Update travis-ci: add new Django version and remove dropped versions

This commit is contained in:
Valentin Samir 2022-10-16 21:07:48 +02:00
parent a82d348b20
commit 9466796002
2 changed files with 33 additions and 20 deletions

View file

@ -8,30 +8,12 @@ matrix:
env: TOX_ENV=check_rst env: TOX_ENV=check_rst
- python: "3.9" - python: "3.9"
env: TOX_ENV=coverage env: TOX_ENV=coverage
# Debian strech support
- python: "3.5"
env: TOX_ENV=py35-django111
- python: "3.5"
env: TOX_ENV=py35-django111
arch: ppc64le
# Ubuntu bionic and EPEL 7 support
- python: "3.6"
env: TOX_ENV=py36-django111
- python: "3.6"
env: TOX_ENV=py36-django111
arch: ppc64le
# RHEL 8 support # RHEL 8 support
- python: "3.6" - python: "3.6"
env: TOX_ENV=py36-django22 env: TOX_ENV=py36-django22
- python: "3.6" - python: "3.6"
env: TOX_ENV=py36-django22 env: TOX_ENV=py36-django22
arch: ppc64le arch: ppc64le
# Debian buster support
- python: "3.7"
env: TOX_ENV=py37-django111
- python: "3.7"
env: TOX_ENV=py37-django111
arch: ppc64le
# Ubuntu focal and Ubuntu groovy support # Ubuntu focal and Ubuntu groovy support
- python: "3.8" - python: "3.8"
env: TOX_ENV=py38-django22 env: TOX_ENV=py38-django22
@ -44,11 +26,19 @@ matrix:
- python: "3.9" - python: "3.9"
env: TOX_ENV=py39-django22 env: TOX_ENV=py39-django22
arch: ppc64le arch: ppc64le
# Ubuntu jammy support
- python: "3.10"
env: TOX_ENV=py310-django32
- python: "3.10"
env: TOX_ENV=py310-django32
arch: ppc64le
# Django additional supported version # Django additional supported version
- python: "3.9"
env: TOX_ENV=py39-django31
- python: "3.9" - python: "3.9"
env: TOX_ENV=py39-django32 env: TOX_ENV=py39-django32
- python: "3.10"
env: TOX_ENV=py310-django40
- python: "3.10"
env: TOX_ENV=py310-django41
cache: cache:
directories: directories:

23
tox.ini
View file

@ -189,6 +189,17 @@ deps =
Django>=2.2,<3.0 Django>=2.2,<3.0
{[base]deps} {[base]deps}
########################
# Ubuntu jammy support #
########################
[testenv:py310-django32]
basepython=python3.10
deps =
Django>=3.2,<3.3
{[base]deps}
####################################### #######################################
# Django additional supported version # # Django additional supported version #
####################################### #######################################
@ -205,3 +216,15 @@ basepython=python3.9
deps = deps =
Django>=3.2,<3.3 Django>=3.2,<3.3
{[base]deps} {[base]deps}
[testenv:py310-django40]
basepython=python3.10
deps =
Django>=4.0,<4.1
{[base]deps}
[testenv:py310-django41]
basepython=python3.10
deps =
Django>=4.1,<4.2
{[base]deps}