(travis) Better diagnostics on *why* a build failed, reduce parellelism
[dbsrgits/DBIx-Class-Historic.git] / maint / travis-ci_scripts / 50_after_failure.bash
index abfd2b9..f087d6f 100755 (executable)
@@ -1,10 +1,12 @@
 #!/bin/bash
 
-# !!! Nothing here will be executed !!!
-# The source-line calling this script is commented out in .travis.yml
+# this file is executed in a subshell - set up the common stuff
+source maint/travis-ci_scripts/common.bash
 
-if [[ -n "$SHORT_CIRCUIT_SMOKE" ]] ; then return ; fi
+if [[ -n "$SHORT_CIRCUIT_SMOKE" ]] ; then exit 0 ; fi
 
-echo_err "Nothing to do"
+echo_err "
+$(ci_vm_state_text)
 
-return 0
+=== dmesg ringbuffer
+$(sudo dmesg)"