diff options
| author | Andrey Orst <andreyorst@gmail.com> | 2021-01-20 19:25:17 +0000 |
|---|---|---|
| committer | Andrey Orst <andreyorst@gmail.com> | 2021-01-20 19:25:17 +0000 |
| commit | 8e300606a9afc75c76b3988c5afee39b511f46c9 (patch) | |
| tree | 8fb4bfdf78523cf55375265e3e7b6d756fc2757b /.gitlab-ci.yml | |
| parent | 156dba1a8d6af3bb2088bfc7cec851f2afe38024 (diff) | |
fix: use luarocks fennel in coverage
Diffstat (limited to '.gitlab-ci.yml')
| -rw-r--r-- | .gitlab-ci.yml | 10 |
1 files 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: |