Update test environment, don't test anymore with Django 2.0 and Django 2.1

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
Yohann D'ANELLO 2021-01-26 14:53:51 +01:00
parent 2a07cca1f1
commit ba9cfaf1dc
No known key found for this signature in database
GPG key ID: 3A75C55819C8CF85
2 changed files with 79 additions and 86 deletions

View file

@ -2,7 +2,7 @@ before_script:
- pip install tox setuptools - pip install tox setuptools
flake8: flake8:
image: "python:2.7" image: "python:3.9"
cache: cache:
key: flake8 key: flake8
paths: paths:
@ -11,7 +11,7 @@ flake8:
- tox -e flake8 - tox -e flake8
check_rst: check_rst:
image: "python:2.7" image: "python:3.9"
cache: cache:
key: check_rst key: check_rst
paths: paths:
@ -19,107 +19,98 @@ check_rst:
script: script:
- tox -e check_rst - tox -e check_rst
py27-django17: py27-django111:
image: "python:2.7" image: "python:2.7"
cache: cache:
key: py27-django17 key: py27-django111
paths: paths:
- .tox/py27-django17 - .tox/py27-django111
script: script:
- tox -e py27-django17 - tox -e py27-django111
py27-django18: py35-django111:
image: "python:2.7"
cache:
key: py27-django18
paths:
- .tox/py27-django18
script:
- tox -e py27-django18
py27-django19:
image: "python:2.7"
cache:
key: py27-django19
paths:
- .tox/py27-django19
script:
- tox -e py27-django19
py27-django110:
image: "python:2.7"
cache:
key: py27-django110
paths:
- .tox/py27-django110
script:
- tox -e py27-django110
py34-django17:
image: "python:3.4"
cache:
key: py34-django17
paths:
- .tox/py34-django17
script:
- tox -e py34-django17
py34-django18:
image: "python:3.4"
cache:
key: py34-django18
paths:
- .tox/py34-django18
script:
- tox -e py34-django18
py34-django19:
image: "python:3.4"
cache:
key: py34-django19
paths:
- .tox/py34-django19
script:
- tox -e py34-django19
py34-django110:
image: "python:3.4"
cache:
key: py34-django110
paths:
- .tox/py34-django110
script:
- tox -e py34-django110
py35-django18:
image: "python:3.5" image: "python:3.5"
cache: cache:
key: py35-django18 key: py35-django111
paths: paths:
- .tox/py35-django18 - .tox/py35-django111
script: script:
- tox -e py35-django18 - tox -e py35-django111
py35-django19: py36-django111:
image: "python:3.5" image: "python:3.6"
cache: cache:
key: py35-django19 key: py36-django111
paths: paths:
- .tox/py35-django19 - .tox/py36-django111
script: script:
- tox -e py35-django19 - tox -e py36-django111
py35-django110: py37-django22:
image: "python:3.5" image: "python:3.7"
cache: cache:
key: py35-django110 key: py37-django22
paths: paths:
- .tox/py35-django110 - .tox/py37-django22
script: script:
- tox -e py35-django110 - tox -e py37-django22
py38-django22:
image: "python:3.8"
cache:
key: py38-django22
paths:
- .tox/py38-django22
script:
- tox -e py38-django22
py38-django30:
image: "python:3.8"
cache:
key: py38-django30
paths:
- .tox/py38-django30
script:
- tox -e py38-django30
py38-django31:
image: "python:3.8"
cache:
key: py38-django31
paths:
- .tox/py38-django31
script:
- tox -e py38-django31
py39-django22:
image: "python:3.9"
cache:
key: py39-django22
paths:
- .tox/py39-django22
script:
- tox -e py39-django22
py39-django30:
image: "python:3.9"
cache:
key: py39-django30
paths:
- .tox/py39-django30
script:
- tox -e py39-django30
py39-django31:
image: "python:3.9"
cache:
key: py39-django31
paths:
- .tox/py39-django31
script:
- tox -e py39-django31
coverage: coverage:
image: "python:2.7" image: "python:3.9"
cache: cache:
key: coverage key: coverage
paths: paths:

View file

@ -1,9 +1,9 @@
language: python language: python
matrix: matrix:
include: include:
- python: "3.8" - python: "3.9"
env: TOX_ENV=flake8 env: TOX_ENV=flake8
- python: "3.8" - python: "3.9"
env: TOX_ENV=check_rst env: TOX_ENV=check_rst
- python: "2.7" - python: "2.7"
env: TOX_ENV=py27-django111 env: TOX_ENV=py27-django111
@ -19,6 +19,8 @@ matrix:
env: TOX_ENV=py38-django30 env: TOX_ENV=py38-django30
- python: "3.8" - python: "3.8"
env: TOX_ENV=py38-django31 env: TOX_ENV=py38-django31
- python: "3.9"
env: TOX_ENV=py39-django22
- python: "3.9" - python: "3.9"
env: TOX_ENV=py39-django30 env: TOX_ENV=py39-django30
- python: "3.9" - python: "3.9"