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

ruby-changes:52917

From: k0kubun <ko1@a...>
Date: Thu, 18 Oct 2018 00:13:44 +0900 (JST)
Subject: [ruby-changes:52917] k0kubun:r65131 (trunk): revert r65124 and try non-parallel test-all on osx

k0kubun	2018-10-18 00:13:36 +0900 (Thu, 18 Oct 2018)

  New Revision: 65131

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

  Log:
    revert r65124 and try non-parallel test-all on osx
    
    OpenSSL error was fixed but r65124 hanged too
    https://travis-ci.org/ruby/ruby/jobs/442727035.
    
    So it seems to be an independent issue.
    Let me try removing -j.

  Modified files:
    trunk/.travis.yml
Index: .travis.yml
===================================================================
--- .travis.yml	(revision 65130)
+++ .travis.yml	(revision 65131)
@@ -46,7 +46,7 @@ addons: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L46
       - gdbm
       - gmp
       - libffi
-      - openssl@1...
+      - openssl@1...
       - zlib
 
 matrix:
@@ -61,7 +61,7 @@ matrix: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L61
       compiler: clang
       # We are not going to make rdoc here; that is to be done above.
       env:
-        - "CONFIG_FLAG='--disable-install-docs --with-opt-dir=/usr/local/opt/openssl@1...:/usr/local/opt/zlib'"
+        - "CONFIG_FLAG='--disable-install-docs --with-opt-dir=/usr/local/opt/openssl@1...:/usr/local/opt/zlib'"
     - os: linux
       language: ruby
       rvm: 2.3
@@ -74,15 +74,18 @@ matrix: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L74
 before_install: |
   : ${CONFIG_FLAG=}
   case "$TRAVIS_OS_NAME" in
-  linux) JOBS=-j`nproc` ;;
+  linux) JOBS=-j`nproc`
+         TEST_ALL_JOBS="$JOBS" ;;
   osx)   JOBS=-j`sysctl -n hw.activecpu`
+         : parallel test-all hangs on travis osx build for now.
+         TEST_ALL_JOBS=""
          : Bare "brew update" nukes everything.
          : These steps are very carefully chosen to avoid breaking things.
          brew_core_dir=/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/
          git -C $brew_core_dir fetch -q origin
          git -C $brew_core_dir checkout -q 25590710e3f7af9cfa173c5cd3eb41a0532107b6
-         HOMEBREW_NO_AUTO_UPDATE=1 brew upgrade openssl@1...
-         /usr/local/opt/openssl@1.../bin/openssl version
+         HOMEBREW_NO_AUTO_UPDATE=1 brew upgrade openssl@1...
+         /usr/local/opt/openssl@1.../bin/openssl version
          ;;
   esac
 
@@ -116,7 +119,7 @@ before_script: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L119
 
 script:
   - "make -s test TESTOPTS=--color=never"
-  - "make -s $JOBS test-all -o exts TESTOPTS='-q --color=never --job-status=normal' RUBY_FORCE_TEST_JIT=1"
+  - "make -s $TEST_ALL_JOBS test-all -o exts TESTOPTS='-q --color=never --job-status=normal' RUBY_FORCE_TEST_JIT=1"
   - "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/

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