Merge branch 'master' of https://gitlab.com/LeRatierBretonnien/world-rdd-fontaine-ortigrise
This commit is contained in:
commit
ea203f852a
28
.gitlab-ci.yml
Normal file
28
.gitlab-ci.yml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
image: python:3-alpine
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- apk update
|
||||||
|
- apk add zip
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- test
|
||||||
|
- build
|
||||||
|
|
||||||
|
test:
|
||||||
|
stage: test
|
||||||
|
script:
|
||||||
|
- python -mjson.tool 'world.json' > /dev/null
|
||||||
|
|
||||||
|
build:
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- zip world-rdd-fontaine-ortigrise.zip -r *.js *.json *.md data scenes -x ".*"
|
||||||
|
artifacts:
|
||||||
|
name: world-rdd-fontaine-ortigrise
|
||||||
|
when: on_success
|
||||||
|
paths:
|
||||||
|
- world-rdd-fontaine-ortigrise.zip
|
||||||
|
when: on_success
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
- master
|
Loading…
Reference in New Issue
Block a user