xbps/.travis.yml
Juan RP 5c9be1eefd
travis: update xbps and system and then install deps.
code is too strict (or stupid) to allow unmatched versions.
2019-11-17 12:18:44 +01:00

24 lines
816 B
YAML

language: generic
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=tcc IMG=voidlinux/voidlinux-musl DEPS="tcc binutils 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-install -yu && xbps-install -y $DEPS make pkg-config kyua zlib-devel libarchive-devel atf-devel && CC=$CC ./configure --enable-tests && make -j$(nproc) && make check"
script:
- echo BUILDS PASSED