[前][次][番号順一覧][スレッド一覧]

ruby-changes:36780

From: nobu <ko1@a...>
Date: Tue, 16 Dec 2014 13:59:37 +0900 (JST)
Subject: [ruby-changes:36780] nobu:r48861 (trunk): .travis.yml: dump crash logs

nobu	2014-12-16 13:59:31 +0900 (Tue, 16 Dec 2014)

  New Revision: 48861

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48861

  Log:
    .travis.yml: dump crash logs

  Modified files:
    trunk/.travis.yml
Index: .travis.yml
===================================================================
--- .travis.yml	(revision 48860)
+++ .travis.yml	(revision 48861)
@@ -46,6 +46,7 @@ install: "if [[ $TRAVIS_OS_NAME = 'linux https://github.com/ruby/ruby/blob/trunk/.travis.yml#L46
 # like  test-all, test-rubyspec.   This is  because  they take  too much  time,
 # enough for Travis to shut down the VM as being stalled.
 before_script:
+  - "if [[ $TRAVIS_OS_NAME = 'osx' ]]; then find ~/Library/Logs/DiagnosticReports -type f -name ruby_\*.crash -delete; fi"
   - "uname -a"
   - "uname -r"
   - "rm -fr .ext autom4te.cache"
@@ -61,9 +62,9 @@ before_script: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L62
   - "make -s $JOBS exts"
   - "make update-rubyspec"
 script:
-  - "make test"
-  - "make test-all TESTS='-q -j2'"
-  - "make test-rubyspec"
+  - "make test || { [ $TRAVIS_OS_NAME = osx ] && cat ~/Library/Logs/DiagnosticReports/ruby_*.crash && false; }"
+  - "make test-all TESTS='-q -j2' || { [ $TRAVIS_OS_NAME = osx ] && cat ~/Library/Logs/DiagnosticReports/ruby_*.crash && false; }"
+  - "make test-rubyspec || { [ $TRAVIS_OS_NAME = osx ] && cat ~/Library/Logs/DiagnosticReports/ruby_*.crash && false; }"
 
 # Branch matrix.  Not all branches are Travis-ready so we limit branches here.
 branches:

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]