[smc-discuss] [Git][smc/fonts-all][master] Add common gitlab-ci.yml file for fonts
Balasankar C
gitlab at mg.gitlab.com
Sat Jun 23 10:46:27 PDT 2018
Balasankar C pushed to branch master at SMC / fonts-all
Commits:
ec90c789 by Balasankar C at 2018-06-23T17:46:26Z
Add common gitlab-ci.yml file for fonts
- - - - -
1 changed file:
- + fonts-gitlab-ci.yml
Changes:
=====================================
fonts-gitlab-ci.yml
=====================================
@@ -0,0 +1,47 @@
+image: "debian:stretch"
+
+before_script:
+ - apt-get update -y
+ - apt-get install -y make fonttools python-fontforge python-brotli
+
+stages:
+ - build
+ - test
+ - release
+
+build-branch:
+ stage: build
+ script:
+ - make ttf webfonts
+ artifacts:
+ paths:
+ - build/
+ except:
+ - tags
+
+build-tag:
+ stage: build
+ script:
+ - make ttf webfonts
+ - sh tools/artifacts.sh
+ artifacts:
+ paths:
+ - build/
+ only:
+ - tags
+
+test:
+ stage: test
+ before_script:
+ - apt-get update -y
+ - apt-get install -y make libharfbuzz-bin
+ script:
+ - make test
+
+release:
+ stage: release
+ before_script: []
+ script:
+ - curl --request POST --form "token=$CI_JOB_TOKEN" --form ref=master https://gitlab.com/api/v4/projects/125326/trigger/pipeline
+ only:
+ - tags
\ No newline at end of file
View it on GitLab: https://gitlab.com/smc/fonts-all/commit/ec90c789bbb63e0f760485cc3faf1f6667b015aa
--
View it on GitLab: https://gitlab.com/smc/fonts-all/commit/ec90c789bbb63e0f760485cc3faf1f6667b015aa
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.smc.org.in/pipermail/discuss-smc.org.in/attachments/20180623/2d21722a/attachment-0002.html>
More information about the discuss
mailing list