about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-03-23 12:00:50 -0700
committerAlex Crichton <alex@alexcrichton.com>2017-03-23 12:00:50 -0700
commit7bed84f17edf2e08e775773cc852895fa5e37b16 (patch)
tree7b715f8f3b60050b76679d7aa778734085cd7110
parentd5580374d7eb8795a8188be4650bd5079a25c6b3 (diff)
downloadrust-7bed84f17edf2e08e775773cc852895fa5e37b16.tar.gz
rust-7bed84f17edf2e08e775773cc852895fa5e37b16.zip
travis: See if OSX generates crash dumps
I know for a fact we've had sccache segfault on various platforms and we've also
historically had a lot of problems with the linker on OSX. Let's just poke
around in the crash log directory to see if anything exists. If in the future we
see a build we think segfaulted *and* there's contents here then we can add some
bits that actually print out the logs.
-rw-r--r--.travis.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index b16957344ae..2b68df24ab0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -153,9 +153,17 @@ after_failure:
       echo "#### Build failed; Disk usage after running script:";
       df -h;
       du . | sort -nr | head -n100
+
+  # One of these is the linux sccache log, one is the OSX sccache log. Instead
+  # of worrying about what system we are just cat both. One of these commands
+  # will fail but that's ok, they'll both get executed.
   - cat obj/tmp/sccache.log
   - cat /tmp/sccache.log
 
+  # Random attempt at debugging currently. Just poking around in here to see if
+  # anything shows up.
+  - ls $HOME/Library/Logs/DiagnosticReports/
+
 # Save tagged docker images we created and load them if they're available
 before_cache:
   - docker history -q rust-ci |