summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFredrik Gustafsson <fredrigu@axis.com>2019-11-18 10:49:29 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2019-11-21 10:30:53 +0100
commit7f80a936b21a33f447beccf666038d083aba04ba (patch)
tree75c9bfe6b1bda9c27a7c9f6c28dc69e8ffe380f8
parentb34b32adf68143041264d82080129817918433d6 (diff)
downloadapk-tools-7f80a936b21a33f447beccf666038d083aba04ba.tar.gz
apk-tools-7f80a936b21a33f447beccf666038d083aba04ba.tar.bz2
apk-tools-7f80a936b21a33f447beccf666038d083aba04ba.tar.xz
apk-tools-7f80a936b21a33f447beccf666038d083aba04ba.zip
Add debian to CI builds
Replace dash (default sh) with bash to make tests work.
-rw-r--r--.gitlab-ci.yml18
1 files changed, 15 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 934e04f..10d1ec8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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