backup-tool/.woodpecker.yml

41 lines
899 B
YAML

pipeline:
# TODO add config for all other versions
test-3.9:
group: test
image: python:3.9-alpine
pull: true
commands:
- pip install -e .[ci]
- tox -e py39
test-3.8:
group: test
image: python:3.8-alpine
pull: true
commands:
- pip install -e .[ci]
- tox -e py38
test-3.7:
group: test
image: python:3.7-alpine
pull: true
commands:
- pip install -e .[ci]
- tox -e py37
test-3.6:
group: test
image: python:3.6-alpine
pull: true
commands:
- pip install -e .[ci]
- tox -e py36
lint:
image: python:3.6-alpine
commands:
- apk update && apk add --no-cache build-base
- pip install -e .[ci]
- tox -e lint