Try to print the crash logs on macOS on failure.

An attempt to debug #45230.
This commit is contained in:
kennytm 2017-11-06 01:10:09 +08:00
parent 9cfdabaf3c
commit eee10cc482
No known key found for this signature in database
GPG key ID: FEF6C8051D0E013C

View file

@ -253,7 +253,14 @@ after_failure:
# Random attempt at debugging currently. Just poking around in here to see if # Random attempt at debugging currently. Just poking around in here to see if
# anything shows up. # anything shows up.
- ls $HOME/Library/Logs/DiagnosticReports/ - 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" \;
-exec head -750 {} \;
-exec echo travis_fold":"end:crashlog \;
# attempt to debug anything killed by the oom killer on linux, just to see if # attempt to debug anything killed by the oom killer on linux, just to see if
# it happened # it happened