2019-08-02 13:24:49 +02:00
|
|
|
stages:
|
|
|
|
- test
|
2020-09-23 20:14:44 +02:00
|
|
|
- quality-assurance
|
2019-08-02 13:24:49 +02:00
|
|
|
|
2020-12-28 22:55:48 +01:00
|
|
|
py39-django22:
|
|
|
|
stage: test
|
|
|
|
image: debian:bullseye
|
|
|
|
before_script:
|
|
|
|
- >
|
|
|
|
apt-get update &&
|
|
|
|
apt-get install --no-install-recommends -y
|
2021-10-23 13:54:08 +02:00
|
|
|
python3-django python3-django-reversion python3-djangorestframework
|
2021-10-23 14:03:58 +02:00
|
|
|
python3-docutils python3-requests tox
|
2020-12-28 22:55:48 +01:00
|
|
|
script: tox -e py39
|
|
|
|
|
2019-08-02 13:24:49 +02:00
|
|
|
linters:
|
2020-09-23 20:14:44 +02:00
|
|
|
stage: quality-assurance
|
2021-10-23 13:54:08 +02:00
|
|
|
image: debian:bullseye
|
2020-09-23 20:14:44 +02:00
|
|
|
before_script:
|
|
|
|
- apt-get update && apt-get install -y tox
|
2019-08-02 13:24:49 +02:00
|
|
|
script: tox -e linters
|
2020-09-23 20:14:44 +02:00
|
|
|
|
|
|
|
# Be nice to new contributors, but please use `tox`
|
2020-02-18 21:34:12 +01:00
|
|
|
allow_failure: true
|