2020-12-28 16:28:51 +00:00
|
|
|
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:
|
2020-12-28 18:12:07 +00:00
|
|
|
- apk add --no-cache libmagic
|
2020-12-28 16:28:51 +00:00
|
|
|
- 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
|