Travis-CI: Build all test programs as regular user, or clang fails

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson 2019-11-03 19:52:37 +01:00
parent dca48d8b7d
commit c35f4de7fc
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -15,3 +15,4 @@ TESTS += remote.sh
TESTS += api.sh
TESTS += stop.sh
programs: $(check_PROGRAMS)