mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-25 05:42:23 +00:00
Add gitlab ci file (warning: errors are coming)
This commit is contained in:
parent
18b4fa81d3
commit
ad1337209d
7
.gitignore
vendored
7
.gitignore
vendored
@ -1,6 +1,3 @@
|
|||||||
# Server config files
|
|
||||||
nginx_note.conf
|
|
||||||
|
|
||||||
# Byte-compiled / optimized / DLL files
|
# Byte-compiled / optimized / DLL files
|
||||||
dist
|
dist
|
||||||
build
|
build
|
||||||
@ -38,8 +35,10 @@ coverage
|
|||||||
secrets.py
|
secrets.py
|
||||||
*.log
|
*.log
|
||||||
media/
|
media/
|
||||||
|
|
||||||
# Virtualenv
|
# Virtualenv
|
||||||
env/
|
env/
|
||||||
venv/
|
venv/
|
||||||
db.sqlite3
|
db.sqlite3
|
||||||
|
|
||||||
|
# Don't git index
|
||||||
|
whoosh_index/
|
||||||
|
27
.gitlab-ci.yml
Normal file
27
.gitlab-ci.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user