2020-09-01 12:47:03 +00:00
|
|
|
image: debian:buster-backports
|
2019-07-08 10:55:48 +00:00
|
|
|
|
|
|
|
stages:
|
|
|
|
- test
|
2020-02-18 19:58:01 +00:00
|
|
|
- quality-assurance
|
2019-07-08 10:55:48 +00:00
|
|
|
|
|
|
|
before_script:
|
2020-09-01 12:47:03 +00:00
|
|
|
# We do not include uwsgi and LaTeX here
|
|
|
|
- apt-get update && \
|
|
|
|
apt-get install -t buster-backports -y python3-django python3-django-crispy-forms \
|
|
|
|
python3-django-extensions python3-django-filters python3-django-polymorphic \
|
|
|
|
python3-djangorestframework python3-django-cas-server python3-psycopg2 python3-pil \
|
|
|
|
python3-babel python3-lockfile python3-pip python3-phonenumbers ipython3 \
|
|
|
|
gettext libjs-bootstrap4 fonts-font-awesome tox && \
|
|
|
|
rm -rf /var/lib/apt/lists/*
|
2019-07-08 10:55:48 +00:00
|
|
|
|
2020-02-18 19:58:01 +00:00
|
|
|
py37-django22:
|
2019-07-08 10:55:48 +00:00
|
|
|
stage: test
|
2020-02-18 19:58:01 +00:00
|
|
|
script: tox -e py37-django22
|
2019-07-08 10:55:48 +00:00
|
|
|
|
2020-07-30 18:45:17 +00:00
|
|
|
py38-django22:
|
|
|
|
stage: test
|
|
|
|
script: tox -e py38-django22
|
|
|
|
|
2019-07-08 10:55:48 +00:00
|
|
|
linters:
|
2020-02-18 19:58:01 +00:00
|
|
|
stage: quality-assurance
|
2019-07-08 10:55:48 +00:00
|
|
|
script: tox -e linters
|
2020-02-18 19:58:01 +00:00
|
|
|
|
|
|
|
# Be nice to new contributors, but please use `tox`
|
|
|
|
allow_failure: true
|