From f139e628ab8b23438f9da25c2799df48410071c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20R=C3=B6bert?= Date: Tue, 12 Feb 2019 23:30:36 +0000 Subject: [PATCH] Test auto build: .gitlab-ci.yml --- .gitlab-ci.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..9a30ee9 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,31 @@ +before_script: + - export COMMIT_TIME=$(git show -s --format=%ct $CI_COMMIT_SHA) + +stages: + - build + +build firefox: + stage: build + script: + - apt-get install -y zip + - zip ClearUrls_firefox_$COMMIT_TIME -r -FS clearurls.js browser-polyfill.js manifest.json img/* external_js/* html/* core_js/* css/* fonts/* _locales/* + + only: + - master + + artifacts: + paths: + - bin/Firefox/ClearUrls_chrome_$COMMIT_TIME.zip + +build chrome: + stage: build + script: + - apt-get install -y zip + - zip ClearUrls_chrome_$COMMIT_TIME -r -FS ChromeVersion/clearurls.js browser-polyfill.js ChromeVersion/manifest.json img/* external_js/* html/* core_js/* css/* fonts/* _locales/* ChromeVersion/css/core.css + + only: + - master + + artifacts: + paths: + - bin/Chrome/ClearUrls_chrome_$COMMIT_TIME.zip \ No newline at end of file