1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-26 18:37:12 +00:00

CI 4 VS erdnaxe 0

This commit is contained in:
Alexandre Iooss 2020-09-01 15:19:06 +02:00
parent 85c9c4b2ba
commit 739da3a090

View File

@ -6,41 +6,44 @@ stages:
py37-django22: py37-django22:
stage: test stage: test
image: debian:buster-backports image: debian:buster-backports
before_script: > before_script:
apt-get update && - >
apt-get install -t buster-backports -y python3-django python3-django-crispy-forms apt-get update &&
python3-django-extensions python3-django-filters python3-django-polymorphic apt-get install -t buster-backports -y python3-django python3-django-crispy-forms
python3-djangorestframework python3-django-cas-server python3-psycopg2 python3-pil python3-django-extensions python3-django-filters python3-django-polymorphic
python3-babel python3-lockfile python3-pip python3-phonenumbers ipython3 python3-djangorestframework python3-django-cas-server python3-psycopg2 python3-pil
gettext libjs-bootstrap4 fonts-font-awesome tox && python3-babel python3-lockfile python3-pip python3-phonenumbers ipython3
rm -rf /var/lib/apt/lists/* gettext libjs-bootstrap4 fonts-font-awesome tox &&
script: tox -e py37-django22 rm -rf /var/lib/apt/lists/*
script: tox -e py37-django22
# Ubuntu 20.04 # Ubuntu 20.04
py38-django22: py38-django22:
stage: test stage: test
image: ubuntu:20.04 image: ubuntu:20.04
before_script: > before_script:
apt-get update && - >
apt-get install -y python3-django python3-django-crispy-forms apt-get update &&
python3-django-extensions python3-django-filters python3-django-polymorphic apt-get install -y python3-django python3-django-crispy-forms
python3-djangorestframework python3-django-cas-server python3-psycopg2 python3-pil python3-django-extensions python3-django-filters python3-django-polymorphic
python3-babel python3-lockfile python3-pip python3-phonenumbers ipython3 python3-djangorestframework python3-django-cas-server python3-psycopg2 python3-pil
gettext libjs-bootstrap4 fonts-font-awesome tox && python3-babel python3-lockfile python3-pip python3-phonenumbers ipython3
rm -rf /var/lib/apt/lists/* gettext libjs-bootstrap4 fonts-font-awesome tox &&
script: tox -e py38-django22 rm -rf /var/lib/apt/lists/*
script: tox -e py38-django22
linters: linters:
stage: quality-assurance stage: quality-assurance
image: debian:buster-backports image: debian:buster-backports
before_script: > before_script:
apt-get update && - >
apt-get install -t buster-backports -y python3-django python3-django-crispy-forms apt-get update &&
python3-django-extensions python3-django-filters python3-django-polymorphic apt-get install -t buster-backports -y python3-django python3-django-crispy-forms
python3-djangorestframework python3-django-cas-server python3-psycopg2 python3-pil python3-django-extensions python3-django-filters python3-django-polymorphic
python3-babel python3-lockfile python3-pip python3-phonenumbers ipython3 python3-djangorestframework python3-django-cas-server python3-psycopg2 python3-pil
gettext libjs-bootstrap4 fonts-font-awesome tox && python3-babel python3-lockfile python3-pip python3-phonenumbers ipython3
rm -rf /var/lib/apt/lists/* gettext libjs-bootstrap4 fonts-font-awesome tox &&
rm -rf /var/lib/apt/lists/*
script: tox -e linters script: tox -e linters
# Be nice to new contributors, but please use `tox` # Be nice to new contributors, but please use `tox`