plateforme-corres2math/.gitlab-ci.yml

28 lines
522 B
YAML
Raw Normal View History

2020-09-24 09:44:43 +00:00
stages:
- test
- quality-assurance
2020-10-09 12:17:17 +00:00
py38:
stage: test
image: python:3.8-alpine
before_script:
- apk add --no-cache libmagic
2020-10-09 12:17:17 +00:00
- pip install tox --no-cache-dir
script: tox -e py38
py39:
2020-09-24 09:44:43 +00:00
stage: test
2020-10-09 12:17:17 +00:00
image: python:3.9-alpine
2020-09-24 09:46:47 +00:00
before_script:
- apk add --no-cache gcc libmagic
2020-09-24 09:46:47 +00:00
- pip install tox --no-cache-dir
script: tox -e py39
2020-09-24 09:44:43 +00:00
linters:
stage: quality-assurance
2020-09-24 09:45:44 +00:00
image: python:3-alpine
2020-09-24 09:46:47 +00:00
before_script:
- pip install tox --no-cache-dir
2020-09-24 09:44:43 +00:00
script: tox -e linters
2020-10-11 15:27:39 +00:00
allow_failure: true