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"
|
build_command: "make"
|
||||||
branch_pattern: dev
|
branch_pattern: dev
|
||||||
|
|
||||||
|
# Build test programs as regular user, or clang build may fail
|
||||||
script:
|
script:
|
||||||
- ./autogen.sh
|
- ./autogen.sh
|
||||||
- ./configure --prefix=/tmp/sysklogd --disable-silent-rules
|
- ./configure --prefix=/tmp/sysklogd --disable-silent-rules
|
||||||
- make clean
|
- make clean
|
||||||
- make
|
- make all
|
||||||
|
- make -C test programs
|
||||||
- sudo make check || (which clang; cat test/test-suite.log; false)
|
- sudo make check || (which clang; cat test/test-suite.log; false)
|
||||||
- make install-strip
|
- make install-strip
|
||||||
- tree /tmp/sysklogd
|
- tree /tmp/sysklogd
|
||||||
|
@ -15,3 +15,4 @@ TESTS += remote.sh
|
|||||||
TESTS += api.sh
|
TESTS += api.sh
|
||||||
TESTS += stop.sh
|
TESTS += stop.sh
|
||||||
|
|
||||||
|
programs: $(check_PROGRAMS)
|
||||||
|
Loading…
Reference in New Issue
Block a user