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

ruby-changes:53044

From: k0kubun <ko1@a...>
Date: Sun, 21 Oct 2018 09:18:37 +0900 (JST)
Subject: [ruby-changes:53044] k0kubun:r65258 (trunk): .travis.yml: debug problematic test case on osx

k0kubun	2018-10-21 09:18:32 +0900 (Sun, 21 Oct 2018)

  New Revision: 65258

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

  Log:
    .travis.yml: debug problematic test case on osx
    
    osx build is stucking somewhere. We want to debug that.
    https://travis-ci.org/ruby/ruby/jobs/444059226

  Modified files:
    trunk/.travis.yml
Index: .travis.yml
===================================================================
--- .travis.yml	(revision 65257)
+++ .travis.yml	(revision 65258)
@@ -67,7 +67,9 @@ matrix: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L67
       compiler: clang
       env:
         - "CONFIG_FLAG='--with-opt-dir=/usr/local/opt/openssl@1...:/usr/local/opt/zlib'"
-        - "JOBS=\"-j`sysctl -n hw.activecpu`\""
+        # debugging which test is causing hang
+        - "JOBS="
+        - "TEST_ALL_TESTOPTS=\"-v --color=never --job-status=normal\""
       before_install:
         # Bare "brew update" nukes everything.
         # These steps are very carefully chosen to avoid breaking things.
@@ -197,7 +199,8 @@ before_script: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L199
 
 script:
   - "$SETARCH make -s test TESTOPTS=--color=never"
-  - "$SETARCH make -s $JOBS test-all -o exts TESTOPTS='-q --color=never --job-status=normal'"
+  - "export TEST_ALL_TESTOPTS=\"${TEST_ALL_TESTOPTS:- -q --color=never --job-status=normal}\""
+  - "$SETARCH make -s $JOBS test-all -o exts TESTOPTS=\"$TEST_ALL_TESTOPTS\""
   - "$SETARCH make -s $JOBS test-spec MSPECOPT=-j"
 
 # Branch matrix.  Not all branches are Travis-ready so we limit branches here.

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

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