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:
parent
dca48d8b7d
commit
c35f4de7fc
@ -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
|
||||
|
@ -15,3 +15,4 @@ TESTS += remote.sh
|
||||
TESTS += api.sh
|
||||
TESTS += stop.sh
|
||||
|
||||
programs: $(check_PROGRAMS)
|
||||
|
Loading…
Reference in New Issue
Block a user