summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorAndrey Orst <andreyorst@gmail.com>2020-11-01 09:20:32 +0000
committerAndrey Orst <andreyorst@gmail.com>2020-11-01 09:20:32 +0000
commit2593f0da0b3b6bfb81f9062f74e0342ae5e3f8c9 (patch)
treebc8a7278c8b5f8fe121091717ea87d198d982518 /.gitlab-ci.yml
parent1e4afa943f108506af5221ef08d2d627e8d757be (diff)
parentfad7b0de5bb32f29226d1295a99b232a704ae8be (diff)
Merge branch 'coverage-report' into 'master'
Coverage report See merge request andreyorst/fennel-cljlib!4
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 074ff12..9fad617 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,6 +2,7 @@
stages:
- test
+ - coverage
Lua 5.3:
image: alpine:3.12.1
@@ -22,3 +23,15 @@ Lua 5.4:
- luarocks install fennel
script:
- LUA=lua5.4 make test
+
+Coverage:
+ image: alpine:3.12.1
+ stage: coverage
+ before_script:
+ - apk add lua5.3 lua5.3-dev gcc musl-dev luarocks5.3 make
+ - luarocks-5.3 install fennel
+ - luarocks-5.3 install luacov
+ - luarocks-5.3 install luacov-console
+ script:
+ - LUA=lua5.3 make luacov-console
+ - luacov-console -s