aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2021-12-28 11:18:30 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2021-12-28 13:15:44 +0100
commit9d047e2228c8c54082cb0174ee19415130474c11 (patch)
tree3d5eeb6c95829589dac56b446ffbd9ded04f43a8
parent655dafe59e35a2bc7bd0785c342c47e3ea860c70 (diff)
downloadvis-lspc-9d047e2228c8c54082cb0174ee19415130474c11.tar.gz
vis-lspc-9d047e2228c8c54082cb0174ee19415130474c11.zip
Add simple gitlab CI running on luarocks
https://hub.docker.com/r/imolein/luarocks
-rw-r--r--.gitlab-ci.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..93109a8
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,23 @@
+image: imolein/luarocks:5.4
+
+stages:
+ - check
+ - test
+
+check-luacheck:
+ stage: check
+ script:
+ - luarocks install luacheck
+ - make check-luacheck
+
+# check-format:
+ # stage: check
+ # script:
+ # - luarocks install --server=https://luarocks.org/dev luaformatter
+ # - make check-format
+
+test:
+ stage: test
+ script:
+ - luarocks install lunatest
+ - make test