From 088d53723ac71967a9b8a1184329903753bc7ce0 Mon Sep 17 00:00:00 2001 From: Andrey Orst Date: Thu, 29 Oct 2020 19:10:36 +0000 Subject: feature(CI): Test library against Lua 5.4 on Ubuntu 20.10 --- .gitlab-ci.yml | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bb54677..3443dc8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,21 +1,24 @@ +--- + stages: - - test5.3 - - test5.4 + - test -test5.3: +test:Lua5.3: image: alpine:3.12.1 - stage: test5.3 + stage: test before_script: - apk add lua5.3 luarocks5.3 make - luarocks-5.3 install fennel script: - - make test + - LUA=lua5.3 make test -test5.4: - image: alpine:3.12.1 - stage: test5.4 +test:Lua5.4: + image: ubuntu:20.10 + stage: test before_script: - - apk add lua5.4 luarocks5.4 make - - luarocks-5.4 install fennel + - ln -snf /usr/share/zoneinfo/Europe/Moscow /etc/localtime + - echo Europe/Moscow > /etc/timezone + - apt-get update && apt-get install -y lua5.4 luarocks make >/dev/null + - luarocks install fennel script: - - make test + - LUA=lua5.4 make test -- cgit v1.2.3