From be8de205af02b25b59ed44c24e87a840775eab08 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Tue, 11 Sep 2018 08:26:32 -0400 Subject: [PATCH] CI: be more verbose in the CI --- ci/travis-continuous.sh | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/ci/travis-continuous.sh b/ci/travis-continuous.sh index 0b7b8c548..fb82f3ee0 100755 --- a/ci/travis-continuous.sh +++ b/ci/travis-continuous.sh @@ -21,16 +21,34 @@ echo -e "###\n### make\n###" make -j2 || { make -j1 VERBOSE=1 ; echo "! Make failed" ; exit 1 ; } echo -e "###\n### make install\n###" + +install_debugging() { + ls -la $( find "$1" -type f -name '*.so' ) +} + +echo "# System status" +df -h + echo "# Build results" -find "$BUILDDIR" -name '*.so' +install_debugging "$BUILDDIR" echo "# Install" DESTDIR=/build/INSTALL_ROOT mkdir -p "$DESTDIR" -result=true -make install VERBOSE=1 DESTDIR="$DESTDIR" || result=false +if make install VERBOSE=1 DESTDIR="$DESTDIR" ; +then + echo "# .. install OK" + result=true +else + echo "# .. install failed" + result=false +fi + +echo "# System status" +df -h echo "# Install results" -find "$DESTDIR" -type f +install_debug "$DESTDIR" + $result # Result of make install, above