[gnome-shell/wip/fmuellner/minimal-ci: 3/3] ci: Add minimal continuous integration
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/minimal-ci: 3/3] ci: Add minimal continuous integration
- Date: Mon, 28 Jan 2019 02:47:49 +0000 (UTC)
commit a25a584c9f9a861edfedc46489feb5a5b6c78acb
Author: Florian Müllner <fmuellner gnome org>
Date: Mon Jan 28 03:34:48 2019 +0100
ci: Add minimal continuous integration
Building gnome-shell is tricky due to the tight coupling with mutter,
but until we figure out the best way forward, we can at least perform
some basic syntax checking on the javascript bits.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/367
.gitlab-ci.yml | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 000000000..8a24a86c4
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,16 @@
+stages:
+ - source_check
+
+variables:
+ JS_LOG: "js-report.txt"
+
+js_check:
+ image: registry.gitlab.gnome.org/gnome/gjs:fedora.static-analysis
+ stage: source_check
+ script:
+ - find js -name '*.js' -exec js60 -c -s '{}' ';' 2>&1 | tee $JS_LOG
+ - ! grep -q . $JS_LOG
+ artifacts:
+ paths:
+ - ${JS_LOG}
+ when: on_failure
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]