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