Skip to content

Commit b8cd6e5

Browse files
committed
Prevents the crash log printer on macOS from crashing the entire job.
1 parent 948e3a3 commit b8cd6e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -275,11 +275,12 @@ after_failure:
275275
- ls -lat $HOME/Library/Logs/DiagnosticReports/
276276
- find $HOME/Library/Logs/DiagnosticReports
277277
-type f
278+
-name '*.crash'
278279
-not -name '*.stage2-*.crash'
279280
-not -name 'com.apple.CoreSimulator.CoreSimulatorService-*.crash'
280281
-exec printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" {} \;
281282
-exec head -750 {} \;
282-
-exec echo travis_fold":"end:crashlog \;
283+
-exec echo travis_fold":"end:crashlog \; || true
283284

284285
# attempt to debug anything killed by the oom killer on linux, just to see if
285286
# it happened

0 commit comments

Comments
 (0)