xbps/.travis.yml
Anthony Iliopoulos a3a103a194 travis: build on bionic
Change the build environment from the current travis default (xenial) to
bonic, so that we can run on a newer kernel. This gets rid of issues
related with coreutils due to the statx syscall which is unavailable on
xenial kernels.
2020-04-02 13:11:22 +02:00

25 lines
760 B
YAML

language: generic
dist: bionic
notifications:
email: false
services:
- docker
env:
matrix:
- CC=gcc IMG=voidlinux/voidlinux DEPS="gcc glibc-devel"
- CC=clang IMG=voidlinux/voidlinux DEPS="clang glibc-devel"
- CC=gcc IMG=voidlinux/voidlinux-musl DEPS="gcc musl-devel"
- CC=clang IMG=voidlinux/voidlinux-musl DEPS="clang musl-devel"
- CC=pcc IMG=voidlinux/voidlinux-musl DEPS="pcc binutils musl-devel"
install:
- docker pull "$IMG"
- docker run -v "$PWD":/tmp/build-dir -w "/tmp/build-dir" "$IMG" /bin/sh -c "xbps-install -Syu xbps && xbps-install -yu && xbps-install -y $DEPS make pkgconf kyua zlib-devel libarchive-devel atf-devel && CC=$CC ./configure --enable-tests && make -j$(nproc) && make check"
script:
- echo BUILDS PASSED