From c35f4de7fcdccdb93f17b162156d5c618b639978 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sun, 3 Nov 2019 19:52:37 +0100 Subject: [PATCH] Travis-CI: Build all test programs as regular user, or clang fails Signed-off-by: Joachim Nilsson --- .travis.yml | 4 +++- test/Makefile.am | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6d98099..abd5f16 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,11 +28,13 @@ addons: build_command: "make" branch_pattern: dev +# Build test programs as regular user, or clang build may fail script: - ./autogen.sh - ./configure --prefix=/tmp/sysklogd --disable-silent-rules - make clean - - make + - make all + - make -C test programs - sudo make check || (which clang; cat test/test-suite.log; false) - make install-strip - tree /tmp/sysklogd diff --git a/test/Makefile.am b/test/Makefile.am index 79d6f33..456224e 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -15,3 +15,4 @@ TESTS += remote.sh TESTS += api.sh TESTS += stop.sh +programs: $(check_PROGRAMS)