foundryvtt-reve-de-dragon/.gitlab-ci.yml

30 lines
528 B
YAML
Raw Normal View History

2020-05-21 22:24:13 +02:00
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
2020-05-21 22:27:40 +02:00
- python -mjson.tool 'template.json' > /dev/null
2020-05-21 22:24:13 +02:00
build:
stage: build
script:
- zip foundryvtt-reve-de-dragon.zip -r *.js *.json *.md module styles templates -x ".*"
artifacts:
name: foundryvtt-reve-de-dragon
when: on_success
paths:
- foundryvtt-reve-de-dragon.zip
when: on_success
only:
- tags
- master