shlax/.gitlab-ci.yml
2020-02-13 04:20:27 +01:00

20 lines
360 B
YAML

build:
stage: test
image: yourlabs/podctl
script: pip install . && CACHE_DIR=$(pwd)/.cache podctl build -d
cache:
paths:
- .cache
key: cache
test:
stage: test
image: yourlabs/python
script: pip install -e . && cd examples && podctl test -d simple
pypi:
stage: deploy
image: yourlabs/python
script: pypi-release
only: [tags]