xbps/.travis.yml
Juan RP 53e23d348e
run-tests: set ATF_SHELL=/bin/sh.
This way 'make check' always uses it.

Signed-off-by: Juan RP <xtraeme@gmail.com>
2019-06-14 10:21:37 +02:00

22 lines
652 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"
install:
- docker pull "$IMG"
- docker run -v "$PWD":/tmp/build-dir -w "/tmp/build-dir" "$IMG" /bin/sh -c "xbps-install -Syu && 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