From 4f26301ff0a612d504a693955fd8a1f9a48432ec Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Wed, 13 Jun 2018 15:44:31 -0500 Subject: [PATCH] filter build output to avoid travis build failures Change the way we output our build text during travis builds. This commit will strip out lines with specific keywords. --- utils/packpack/startpackpack.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/utils/packpack/startpackpack.sh b/utils/packpack/startpackpack.sh index 3794e4645..70769102b 100755 --- a/utils/packpack/startpackpack.sh +++ b/utils/packpack/startpackpack.sh @@ -257,11 +257,9 @@ execpackpack () { fi if [ "${TRAVIS}" == "true" ]; then - utils/packpack/heartbeat.sh & - mypid=$! - packpack/packpack $parms > buildlog.txt 2>&1 - kill $mypid - tail -n 3000 buildlog.txt | grep -v ONVIF + # Travis will fail the build if the output gets too long + # To mitigate that, use grep to filter out some of the noise + packpack/packpack $parms | grep -Ev '^(-- Installing:|-- Up-to-date:|Skip blib|Manifying|Installing /build|cp lib)' else packpack/packpack $parms fi