From 026c229005e44eee012100c1562ee65693ca96ad Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sun, 7 Mar 2021 15:14:47 +0100 Subject: [PATCH] Revert "Travis-CI: disable clang and unit tests for Coverity Scan run" This reverts commit c71bafd49507a838d446f8eb91eb4edfd075d132. --- .travis.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8eaaab70..81540442 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,8 +5,13 @@ language: c # Use docker for quicker builds, it now allows https://docs.travis-ci.com/user/apt/ sudo: false +# Use non-docker builds atm. to install libuEv and libite from source +#sudo: true + +# Test build with both GCC and Clang (LLVM) compiler: - gcc + - clang # The secure: declaration is the encrypted COVERITY_SCAN_TOKEN, created # via the "travis encrypt" command using the project repo's public key @@ -25,7 +30,7 @@ addons: name: "troglobit/finit" description: "finit | Fast & Extensible init for Linux" notification_email: troglobit@gmail.com - build_command_prepend: "./autogen.sh && ./configure --prefix=/tmp --disable-doc --disable-contrib --enable-watchdog --enable-fallback-shell" + build_command_prepend: "./autogen.sh && ./configure --prefix=/tmp" build_command: "make" branch_pattern: dev @@ -43,8 +48,18 @@ script: - ./configure --prefix=/tmp --enable-static - make clean - make V=1 -j5 - - ./configure --prefix=/tmp --enable-x11-common-plugin --enable-fallback-shell --enable-watchdog + - ./configure --prefix=/tmp --enable-x11-common-plugin --enable-fallback-shell --enable-watchdog --enable-logit - cat config.log - make clean - make V=1 -j5 - make install-strip + - tree /tmp + - ldd /tmp/sbin/finit + - size /tmp/sbin/finit + - size /tmp/sbin/initctl + - size /tmp/sbin/reboot + - LD_LIBRARY_PATH=/tmp/lib /tmp/sbin/initctl -h + - unshare -V + - nsenter -V + - chroot --version + - 'LD_LIBRARY_PATH=/tmp/lib make distcheck || (cat finit-4.0-beta1/_build/sub/test/test-suite.log; exit 1)'