summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 3443dc8c46727d2f48c863d3916dfa3325631e14 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---

stages:
    - test

test:Lua5.3:
    image: alpine:3.12.1
    stage: test
    before_script:
        - apk add lua5.3 luarocks5.3 make
        - luarocks-5.3 install fennel
    script:
        - LUA=lua5.3 make test

test:Lua5.4:
    image: ubuntu:20.10
    stage: test
    before_script:
        - 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:
        - LUA=lua5.4 make test