shlax/.gitlab-ci.yml
2020-02-16 18:23:22 +01:00

15 lines
344 B
YAML

build:
cache:
key: cache
paths: [.cache]
image: yourlabs/shlax
script: CACHE_DIR=$(pwd)/.cache ./shlaxfile.py -d shlax build push
stage: build
pypi:
image: yourlabs/python
only: [tags]
script: pypi-release
stage: deploy
test: {image: 'yourlabs/shlax:$CI_COMMIT_SHORT_SHA', script: ./shlaxfile.py -d test,
stage: test}