Add .gitlab-ci.yml

This commit is contained in:
Leratier Bretonnien 2021-02-22 19:17:38 +00:00
parent 8693dc038b
commit add497156b

29
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,29 @@
image: python:3-alpine
before_script:
- apk update
- apk add zip
stages:
- test
- build
test:
stage: test
script:
- python -mjson.tool 'system.json' > /dev/null
- python -mjson.tool 'template.json' > /dev/null
build:
stage: build
script:
- zip foundryvtt-shadows-over-sol.zip -r *.js *.json *.md fonts img lang module packs styles templates -x ".*"
artifacts:
name: foundryvtt-shadows-over-sol
when: on_success
paths:
- foundryvtt-shadows-over-sol.zip
when: on_success
only:
- tags
- master