From a374ac58b3a57808985698c153fefbdea6b8f091 Mon Sep 17 00:00:00 2001 From: jpic Date: Sun, 16 Feb 2020 18:45:34 +0100 Subject: [PATCH] Gitlab update --- .gitlab-ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 46054b2..10123f3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,12 +3,13 @@ build: key: cache paths: [.cache] 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 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} +test: {image: 'yourlabs/shlax:$CI_COMMIT_SHORT_SHA', script: pip install -U --user + -e . && ./shlaxfile.py -d test, stage: test}