Travis-CI: Run unit tests with klogd enabled, add 2nd pass

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson 2019-11-13 08:34:46 +01:00
parent d6370aeb1f
commit ef22d6dbe9

View File

@ -29,8 +29,9 @@ addons:
# Build test programs as regular user, or clang build may fail
script:
- echo "PASS 1/2 ===================================================================="
- ./autogen.sh
- ./configure --prefix=/tmp/sysklogd --disable-silent-rules
- ./configure --prefix=/tmp/sysklogd --disable-silent-rules --with-klogd
- make clean
- make all
- make -C test programs
@ -40,3 +41,9 @@ script:
- mkdir -p /tmp/example; cp -a example/example.* /tmp/example/
- (cd /tmp/example; PKG_CONFIG_LIBDIR=/tmp/sysklogd/lib/pkgconfig make -f example.mk)
- tree /tmp/sysklogd
- echo "PASS 2/2 ===================================================================="
- make distclean
- ./configure --prefix=/tmp/syslogd --disable-silent-rules
- make all
- make install-strip
- tree /tmp/syslogd