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.
This commit is contained in:
Andrew Bauer 2018-06-13 15:44:31 -05:00 committed by GitHub
parent 4190b994b2
commit 4f26301ff0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 5 deletions

View File

@ -257,11 +257,9 @@ execpackpack () {
fi fi
if [ "${TRAVIS}" == "true" ]; then if [ "${TRAVIS}" == "true" ]; then
utils/packpack/heartbeat.sh & # Travis will fail the build if the output gets too long
mypid=$! # To mitigate that, use grep to filter out some of the noise
packpack/packpack $parms > buildlog.txt 2>&1 packpack/packpack $parms | grep -Ev '^(-- Installing:|-- Up-to-date:|Skip blib|Manifying|Installing /build|cp lib)'
kill $mypid
tail -n 3000 buildlog.txt | grep -v ONVIF
else else
packpack/packpack $parms packpack/packpack $parms
fi fi