shlax/.gitlab-ci.yml
jpic 29505d1004 No need for a shlax image to build the shlax image
It will always build on python with shlax[cli] installed because that's
part of the requirement: no extra dependency to use just the framework
besides current Python stable release
2020-04-22 03:25:06 +02:00

19 lines
378 B
YAML

build:
cache:
key: cache
paths: [.cache]
image: yourlabs/python
script: pip install -U --user -e .[cli] && CACHE_DIR=$(pwd)/.cache ./shlaxfile.py build
stage: build
test:
image: yourlabs/python
stage: build
script: pip install -U --user -e .[test] && py.test -sv tests
pypi:
image: yourlabs/python
only: [tags]
script: pypi-release
stage: deploy