1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-21 03:58:26 +02:00

Add gitlab ci file (warning: errors are coming)

This commit is contained in:
Yohann D'ANELLO
2020-12-28 17:28:51 +01:00
parent 18b4fa81d3
commit ad1337209d
2 changed files with 30 additions and 4 deletions

27
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,27 @@
stages:
- test
- quality-assurance
py38:
stage: test
image: python:3.8-alpine
before_script:
- apk add --no-cache libmagic
- pip install tox --no-cache-dir
script: tox -e py38
py39:
stage: test
image: python:3.9-alpine
before_script:
- apk add --no-cache gcc libmagic
- pip install tox --no-cache-dir
script: tox -e py39
linters:
stage: quality-assurance
image: python:3-alpine
before_script:
- pip install tox --no-cache-dir
script: tox -e linters
allow_failure: true