summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.gitlab-ci.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 000000000..25ece161b
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,19 @@
+stages:
+ - "Code quality, linting, syntax, code style"
+
+job 1:
+ stage: "Code quality, linting, syntax, code style"
+ before_script:
+ - apt-get clean all && apt-get update
+ - apt-get install -y shellcheck
+ script: shellcheck --format=gcc $(find . -name '*.sh.in' -not -iwholename '*.git*')
+
+job 2:
+ stage: "Code quality, linting, syntax, code style"
+ script: ./tests/installer/checksums.sh
+ variables:
+ LOCAL_ONLY: "true"
+
+job 3:
+ stage: "Code quality, linting, syntax, code style"
+ script: cp web/gui/dashboard.js /tmp/dashboard.js && ./build/build.sh && diff /tmp/dashboard.js web/gui/dashboard.js