Enable gitlab-ci
This commit is contained in:
parent
b279760374
commit
4601ead8f8
@ -3,13 +3,16 @@ build:
|
|||||||
key: cache
|
key: cache
|
||||||
paths: [.cache]
|
paths: [.cache]
|
||||||
image: yourlabs/shlax
|
image: yourlabs/shlax
|
||||||
script: pip install -U --user -e . && CACHE_DIR=$(pwd)/.cache ./shlaxfile.py -d
|
script: pip install -U --user -e . && CACHE_DIR=$(pwd)/.cache ./shlaxfile.py build
|
||||||
shlax build push
|
|
||||||
stage: build
|
stage: build
|
||||||
|
|
||||||
|
test:
|
||||||
|
image: yourlabs/python
|
||||||
|
stage: build
|
||||||
|
script: pip install -U --user -e . && py.test -sv tests
|
||||||
|
|
||||||
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/python, script: 'pip install -U --user -e .[test] && py.test
|
|
||||||
-svv tests', stage: build}
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user