Travis-CI: Simplify, syslogd now continues if /proc/kmsg is missing

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson 2019-11-13 09:57:15 +01:00
parent 45c7dcc6df
commit 4a9b9b7756

View File

@ -29,21 +29,13 @@ addons:
# Build test programs as regular user, or clang build may fail # Build test programs as regular user, or clang build may fail
script: script:
- echo "PASS 1/2 ===================================================================="
- ./autogen.sh - ./autogen.sh
- ./configure --prefix=/tmp/sysklogd --disable-silent-rules --with-klogd - ./configure --prefix=/tmp/sysklogd --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; false) - sudo make check || (which clang; cat test/test-suite.log; cat test/start.log; cat test/api.log; false)
- (cat test/test-suite.log; cat test/start.log; cat test/api.log)
- make install-strip - make install-strip
- 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
- echo "PASS 2/2 ===================================================================="
- make distclean
- ./configure --prefix=/tmp/syslogd --disable-silent-rules
- make all
- make install-strip
- tree /tmp/syslogd