Travis-CI: Use DESTDIR instead of --prefix to work-around systemd
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
parent
113168f53a
commit
1599eb904f
@ -23,19 +23,19 @@ addons:
|
|||||||
name: "troglobit/sysklogd"
|
name: "troglobit/sysklogd"
|
||||||
description: "RFC5424 compliant syslog daemon and syslog()/syslogp() API for Linux"
|
description: "RFC5424 compliant syslog daemon and syslog()/syslogp() API for Linux"
|
||||||
notification_email: troglobit@gmail.com
|
notification_email: troglobit@gmail.com
|
||||||
build_command_prepend: "./autogen.sh && ./configure"
|
build_command_prepend: "./autogen.sh && ./configure --with-klogd"
|
||||||
build_command: "make"
|
build_command: "make"
|
||||||
branch_pattern: dev
|
branch_pattern: dev
|
||||||
|
|
||||||
# Build test programs as regular user, or clang build may fail
|
# 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= --disable-silent-rules
|
||||||
- make clean
|
- make clean
|
||||||
- make all
|
- make all
|
||||||
- make -C test programs
|
- make -C test programs
|
||||||
- sudo make check || (which clang; cat test/test-suite.log; cat test/start.log; cat test/api.log; false)
|
- sudo make check || (which clang; cat test/test-suite.log; cat test/start.log; cat test/api.log; false)
|
||||||
- make install-strip
|
- make install-strip DESTDIR=/tmp/sysklogd
|
||||||
- mkdir -p /tmp/example; cp -a example/example.* /tmp/example/
|
- mkdir -p /tmp/example; cp -a example/example.* /tmp/example/
|
||||||
- (cd /tmp/example; PKG_CONFIG_LIBDIR=/tmp/sysklogd/lib/pkgconfig make -f example.mk)
|
- (cd /tmp/example; PKG_CONFIG_LIBDIR=/tmp/sysklogd/lib/pkgconfig make -f example.mk)
|
||||||
- tree /tmp/sysklogd
|
- tree /tmp/sysklogd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user