about summary refs log tree commit diff
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2017-11-16 00:54:39 +0800
committerkennytm <kennytm@gmail.com>2017-11-16 01:06:53 +0800
commitcd57b761ce0670920fcdbe3a3e79b1bb4807d11e (patch)
tree0dfd054d62ce97c70db317964de22cbc161e580c
parentce2b8a4944f1983759cb7d0e8d35a8bb889dbee6 (diff)
Travis/macOS: Improve crash log collection accuracy.
-rw-r--r--.travis.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 62336a7ff2a..5ff3a1c13f0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -254,11 +254,11 @@ after_failure:
   # Random attempt at debugging currently. Just poking around in here to see if
   # anything shows up.
   - ls -lat $HOME/Library/Logs/DiagnosticReports/
-  - find $HOME/Library/Logs/DiagnosticReports/ ! \(
-      -name '*.stage2-*.crash'
-      -name 'com.apple.CoreSimulator.CoreSimulatorService-*.crash'
-    \)
-      -exec echo -e travis_fold":start:crashlog\n\033[31;1m" {} "\033[0m" \;
+  - find $HOME/Library/Logs/DiagnosticReports
+      -type f
+      -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 \;