From 775e9132cac2c162cb86b3dac422842fa994bb01 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Tue, 24 Mar 2020 11:12:22 +0100 Subject: [PATCH] Sync en->fr --- .gitlab-ci.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..0cddb12 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,30 @@ +image: python:3-alpine + +before_script: + - apk update + - apk add zip + +stages: + - test + - build + +test: + stage: test + script: + - python -mjson.tool 'fr.json' > /dev/null + - python -mjson.tool 'module.json' > /dev/null + - python -mjson.tool 'wh4_fr.js' > /dev/null + +build: + stage: build + script: + - zip wh4-fr-FR.zip -x ".*" + artifacts: + name: wh4-fr-FR + when: on_success + paths: + - wh4-fr-FR.zip + when: on_success + only: + - tags + - master