Simplify gitlabci for now

This commit is contained in:
jpic 2020-02-16 20:02:24 +01:00
parent ee25255028
commit ebcde95d5a
2 changed files with 3 additions and 3 deletions

View File

@ -11,5 +11,5 @@ pypi:
only: [tags] only: [tags]
script: pypi-release script: pypi-release
stage: deploy stage: deploy
test: {image: 'yourlabs/shlax:$CI_COMMIT_SHORT_SHA', script: pip install -U --user test: {image: yourlabs/python, script: 'pip install -U --user -e .[test] && py.test
-e . && ./shlaxfile.py -d test, stage: test} -svv tests', stage: build}

View File

@ -41,7 +41,7 @@ gitlabci = GitLabCI(
image='yourlabs/python', image='yourlabs/python',
), ),
build=dict( build=dict(
stage='test', stage='build',
image='yourlabs/shlax', image='yourlabs/shlax',
script='pip install -U --user -e . && 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',
cache=dict(paths=['.cache'], key='cache'), cache=dict(paths=['.cache'], key='cache'),