(travis) Adjust test infrastructure for recent extensive TravisCI changes
[dbsrgits/DBIx-Class-Historic.git] / maint / travis-ci_scripts / 50_after_failure.bash
index f087d6f..b155fab 100755 (executable)
@@ -8,5 +8,4 @@ if [[ -n "$SHORT_CIRCUIT_SMOKE" ]] ; then exit 0 ; fi
 echo_err "
 $(ci_vm_state_text)
 
-=== dmesg ringbuffer
-$(sudo dmesg)"
+$( [[ "$(dmesg)" =~ $( echo "\\bOOM\\b" ) ]] && echo "=== dmesg ringbuffer" && dmesg )"