From 8e300606a9afc75c76b3988c5afee39b511f46c9 Mon Sep 17 00:00:00 2001 From: Andrey Orst Date: Wed, 20 Jan 2021 19:25:17 +0000 Subject: fix: use luarocks fennel in coverage --- .gitlab-ci.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a49ff33..7ebfc7b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,16 +28,14 @@ Luajit: script: - LUA=luajit make test -# We install fennel via luarocks by making local rockspect because I -# don't want to figure out how to install luacov without luarocks +# We install fennel via luarocks because I don't want to figure out +# how to install luacov without luarocks Coverage: image: alpine:3.12.1 stage: coverage before_script: - - apk add -q lua5.3 lua5.3-dev gcc musl-dev luarocks5.3 git make - - (cd $HOME; git clone https://git.sr.ht/~technomancy/fennel) - - export LUA=lua5.3 - - (cd $HOME/fennel; luarocks-5.3 make rockspecs/fennel-scm-2.rockspec) + - apk add -q 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: -- cgit v1.2.3