Add GitLab CI configuration
This commit is contained in:
parent
4d2c402de4
commit
935d59a3b4
1 changed files with 25 additions and 0 deletions
25
.gitlab-ci.yml
Normal file
25
.gitlab-ci.yml
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
stages:
|
||||||
|
- test
|
||||||
|
- quality-assurance
|
||||||
|
|
||||||
|
# Debian Bullseye
|
||||||
|
py39-django22:
|
||||||
|
stage: test
|
||||||
|
image: debian:bullseye
|
||||||
|
before_script:
|
||||||
|
- >
|
||||||
|
apt-get update &&
|
||||||
|
apt-get install --no-install-recommends -y
|
||||||
|
python3-django python3-django-crispy-forms
|
||||||
|
python3-pil python3-pip python3-setuptools tox
|
||||||
|
script: tox -e py39-django22
|
||||||
|
|
||||||
|
linters:
|
||||||
|
stage: quality-assurance
|
||||||
|
image: debian:bullseye
|
||||||
|
before_script:
|
||||||
|
- apt-get update && apt-get install -y tox
|
||||||
|
script: tox -e linters
|
||||||
|
|
||||||
|
# Be nice to new contributors, but please use `tox`
|
||||||
|
allow_failure: true
|
||||||
Loading…
Add table
Add a link
Reference in a new issue