about summary refs log tree commit diff
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-03-10 18:38:27 +0800
committerkennytm <kennytm@gmail.com>2018-03-10 19:57:02 +0800
commitb8cd6e5d7b885d3af2832cbe4a684ce6e6cf3614 (patch)
tree34b7c035b0b2fdba83edf6310c57b67d96731145
parent948e3a30e6ec8417bcfdb923cd414fdf8fc87795 (diff)
downloadrust-b8cd6e5d7b885d3af2832cbe4a684ce6e6cf3614.tar.gz
rust-b8cd6e5d7b885d3af2832cbe4a684ce6e6cf3614.zip
Prevents the crash log printer on macOS from crashing the entire job.
-rw-r--r--.travis.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 4eff6337ad8..8315cc9f90f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -275,11 +275,12 @@ after_failure:
   - ls -lat $HOME/Library/Logs/DiagnosticReports/
   - find $HOME/Library/Logs/DiagnosticReports
       -type f
+      -name '*.crash'
       -not -name '*.stage2-*.crash'
       -not -name 'com.apple.CoreSimulator.CoreSimulatorService-*.crash'
       -exec printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" {} \;
       -exec head -750 {} \;
-      -exec echo travis_fold":"end:crashlog \;
+      -exec echo travis_fold":"end:crashlog \; || true
 
   # attempt to debug anything killed by the oom killer on linux, just to see if
   # it happened