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
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