34 lines
521 B
YAML
34 lines
521 B
YAML
|
stages:
|
||
|
- test
|
||
|
- quality-assurance
|
||
|
- build
|
||
|
|
||
|
py37:
|
||
|
stage: test
|
||
|
image: python:3.7-alpine
|
||
|
before_script:
|
||
|
- pip install tox
|
||
|
script: tox -e py3
|
||
|
|
||
|
py38:
|
||
|
stage: test
|
||
|
image: python:3.8-alpine
|
||
|
before_script:
|
||
|
- pip install tox
|
||
|
script: tox -e py3
|
||
|
|
||
|
py39:
|
||
|
stage: test
|
||
|
image: python:3.9-alpine
|
||
|
before_script:
|
||
|
- pip install tox
|
||
|
script: tox -e py3
|
||
|
|
||
|
linters:
|
||
|
stage: quality-assurance
|
||
|
image: python:3-alpine
|
||
|
before_script:
|
||
|
- pip install tox
|
||
|
script: tox -e linters
|
||
|
allow_failure: true
|