xbps/.travis.yml

23 lines
746 B
YAML
Raw Normal View History

language: generic
notifications:
email: false
services:
- docker
env:
matrix:
2019-03-22 21:49:56 +05:30
- 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:
2019-03-22 21:49:56 +05:30
- 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