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:
parent
4190b994b2
commit
4f26301ff0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue