Add debian to CI builds

Replace dash (default sh) with bash to make tests work.
cute-signatures
Fredrik Gustafsson 2019-11-18 10:49:29 +01:00 committed by Natanael Copa
parent b34b32adf6
commit 7f80a936b2
1 changed files with 15 additions and 3 deletions

View File

@ -1,9 +1,8 @@
stages:
- test
image: alpine
test:
test:alpine:
image: alpine
stage: test
script:
- apk update
@ -11,3 +10,16 @@ test:
- make -j$(nproc) check
tags:
- docker-alpine
test:debian:
image: debian
stage: test
script:
- apt-get update
- apt-get install -y make gcc git libssl-dev zlib1g-dev lua5.2-dev sudo
- unlink /bin/sh
- ln -s /bin/bash /bin/sh
- make -j$(nproc) check
tags:
- docker-alpine
- x86_64