From b0ff1aa5c76202f90080554af2ae1676c49014a0 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Wed, 13 Nov 2019 17:54:35 +0100 Subject: [PATCH] Travis-CI: Fix build w/o messing up example code build Signed-off-by: Joachim Nilsson --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3b0aa8d..7873038 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,12 +31,12 @@ addons: # Build test programs as regular user, or clang build may fail script: - ./autogen.sh - - ./configure --prefix= --disable-silent-rules + - ./configure --prefix=/tmp/sysklogd --disable-silent-rules --with-systemd=/tmp/sysklogd/lib/systemd/system - make clean - make all - make -C test programs - sudo make check || (which clang; cat test/test-suite.log; cat test/start.log; cat test/api.log; false) - - make install-strip DESTDIR=/tmp/sysklogd + - make install-strip - mkdir -p /tmp/example; cp -a example/example.* /tmp/example/ - (cd /tmp/example; PKG_CONFIG_LIBDIR=/tmp/sysklogd/lib/pkgconfig make -f example.mk) - tree /tmp/sysklogd