backup-tool/.woodpecker.yml

41 lines
899 B
YAML
Raw Normal View History

2021-04-24 19:39:49 +02:00
pipeline:
# TODO add config for all other versions
2021-04-24 22:22:12 +02:00
test-3.9:
2021-04-24 22:27:03 +02:00
group: test
2021-04-24 22:22:12 +02:00
image: python:3.9-alpine
2021-04-24 19:39:49 +02:00
pull: true
commands:
2021-04-24 22:31:45 +02:00
- pip install -e .[ci]
2021-04-24 19:39:49 +02:00
- tox -e py39
2021-04-24 22:22:12 +02:00
test-3.8:
2021-04-24 22:27:03 +02:00
group: test
2021-04-24 22:22:12 +02:00
image: python:3.8-alpine
pull: true
commands:
2021-04-24 22:31:45 +02:00
- pip install -e .[ci]
2021-04-24 22:22:12 +02:00
- tox -e py38
test-3.7:
2021-04-24 22:27:03 +02:00
group: test
2021-04-24 22:22:12 +02:00
image: python:3.7-alpine
pull: true
commands:
2021-04-24 22:31:45 +02:00
- pip install -e .[ci]
2021-04-24 22:22:12 +02:00
- tox -e py37
test-3.6:
2021-04-24 22:27:03 +02:00
group: test
2021-04-24 22:22:12 +02:00
image: python:3.6-alpine
pull: true
commands:
2021-04-24 22:31:45 +02:00
- pip install -e .[ci]
2021-04-24 22:22:12 +02:00
- tox -e py36
lint:
image: python:3.6-alpine
commands:
2021-04-24 22:56:27 +02:00
- apk update && apk add --no-cache build-base
2021-04-24 22:31:45 +02:00
- pip install -e .[ci]
2021-04-24 22:22:12 +02:00
- tox -e lint