Gitlab update

This commit is contained in:
jpic 2020-02-16 18:45:34 +01:00
parent fe70c69b0c
commit a374ac58b3

View File

@ -3,12 +3,13 @@ build:
key: cache key: cache
paths: [.cache] paths: [.cache]
image: yourlabs/shlax image: yourlabs/shlax
script: CACHE_DIR=$(pwd)/.cache ./shlaxfile.py -d shlax build push script: pip install -U --user -e . && CACHE_DIR=$(pwd)/.cache ./shlaxfile.py -d
shlax build push
stage: build stage: build
pypi: pypi:
image: yourlabs/python image: yourlabs/python
only: [tags] only: [tags]
script: pypi-release script: pypi-release
stage: deploy stage: deploy
test: {image: 'yourlabs/shlax:$CI_COMMIT_SHORT_SHA', script: ./shlaxfile.py -d test, test: {image: 'yourlabs/shlax:$CI_COMMIT_SHORT_SHA', script: pip install -U --user
stage: test} -e . && ./shlaxfile.py -d test, stage: test}