travis: trim dependencies
This commit is contained in:
parent
6a5048b46d
commit
bf5eba411b
14
.travis.yml
14
.travis.yml
@ -7,17 +7,15 @@ services:
|
|||||||
- docker
|
- docker
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
|
||||||
- MAKEJOBS = -j4
|
|
||||||
matrix:
|
matrix:
|
||||||
- CC=gcc IMAGE=voidlinux/voidlinux DEPENDENCY_PACKAGES="bash kyua zlib-devel libarchive-devel base-devel atf-devel"
|
- CC=gcc IMG=voidlinux/voidlinux DEPS="gcc glibc-devel"
|
||||||
- CC=clang IMAGE=voidlinux/voidlinux DEPENDENCY_PACKAGES="clang bash kyua zlib-devel libarchive-devel base-devel atf-devel"
|
- CC=clang IMG=voidlinux/voidlinux DEPS="clang glibc-devel"
|
||||||
- CC=gcc IMAGE=voidlinux/voidlinux-musl DEPENDENCY_PACKAGES="bash kyua zlib-devel libarchive-devel base-devel atf-devel"
|
- CC=gcc IMG=voidlinux/voidlinux-musl DEPS="gcc musl-devel"
|
||||||
- CC=clang IMAGE=voidlinux/voidlinux-musl DEPENDENCY_PACKAGES="clang bash kyua zlib-devel libarchive-devel base-devel atf-devel"
|
- CC=clang IMG=voidlinux/voidlinux-musl DEPS="clang musl-devel"
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- docker pull "$IMAGE"
|
- docker pull "$IMG"
|
||||||
- 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"
|
- 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 --enable-debug && make -j4 && ATF_SHELL=/bin/sh make check"
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- echo BUILDS PASSED
|
- echo BUILDS PASSED
|
||||||
|
Loading…
Reference in New Issue
Block a user