mirror of https://gitlab.crans.org/bde/nk20
32 lines
850 B
YAML
32 lines
850 B
YAML
image: debian:buster-backports
|
|
|
|
stages:
|
|
- test
|
|
- quality-assurance
|
|
|
|
before_script:
|
|
# 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/*
|
|
|
|
py37-django22:
|
|
stage: test
|
|
script: tox -e py37-django22
|
|
|
|
py38-django22:
|
|
stage: test
|
|
script: tox -e py38-django22
|
|
|
|
linters:
|
|
stage: quality-assurance
|
|
script: tox -e linters
|
|
|
|
# Be nice to new contributors, but please use `tox`
|
|
allow_failure: true
|