From 6a5048b46df2a2a128268ecfde3bb5135b09c1bd Mon Sep 17 00:00:00 2001 From: Duncaen Date: Fri, 22 Mar 2019 17:13:43 +0100 Subject: [PATCH] travis: add voidlinux/voidlinux-musl to test matrix --- .travis.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index cfb2d546..7f5ad713 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,12 +10,14 @@ env: global: - MAKEJOBS = -j4 matrix: - - CC=gcc DEPENDENCY_PACKAGES="bash kyua zlib-devel libarchive-devel base-devel atf-devel" - - CC=clang DEPENDENCY_PACKAGES="clang bash kyua zlib-devel libarchive-devel base-devel atf-devel" + - CC=gcc IMAGE=voidlinux/voidlinux DEPENDENCY_PACKAGES="bash kyua zlib-devel libarchive-devel base-devel atf-devel" + - CC=clang IMAGE=voidlinux/voidlinux DEPENDENCY_PACKAGES="clang bash kyua zlib-devel libarchive-devel base-devel atf-devel" + - CC=gcc IMAGE=voidlinux/voidlinux-musl DEPENDENCY_PACKAGES="bash kyua zlib-devel libarchive-devel base-devel atf-devel" + - CC=clang IMAGE=voidlinux/voidlinux-musl DEPENDENCY_PACKAGES="clang bash kyua zlib-devel libarchive-devel base-devel atf-devel" install: - - docker pull voidlinux/voidlinux - - docker run -v "$PWD":/tmp/build-dir voidlinux/voidlinux /bin/sh -c "xbps-install -Syu && xbps-install -y $DEPENDENCY_PACKAGES && cd /tmp/build-dir && CC=$CC ./configure --enable-tests --enable-debug && make $MAKEJOBS && make check" + - docker pull "$IMAGE" + - docker run -v "$PWD":/tmp/build-dir "$IMAGE" /bin/sh -c "xbps-install -Syu && xbps-install -y $DEPENDENCY_PACKAGES && cd /tmp/build-dir && CC=$CC ./configure --enable-tests --enable-debug && make $MAKEJOBS && make check" script: - echo BUILDS PASSED