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

ruby-changes:54292

From: k0kubun <ko1@a...>
Date: Sun, 23 Dec 2018 10:10:14 +0900 (JST)
Subject: [ruby-changes:54292] k0kubun:r66501 (trunk): .travis.yml: try travis_wait instead of -v

k0kubun	2018-12-23 10:10:06 +0900 (Sun, 23 Dec 2018)

  New Revision: 66501

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

  Log:
    .travis.yml: try travis_wait instead of -v
    
    Using -v somehow makes test-all on osx stable. Let me check if travis_wait
    solves the issue or not.

  Modified files:
    trunk/.travis.yml
Index: .travis.yml
===================================================================
--- .travis.yml	(revision 66500)
+++ .travis.yml	(revision 66501)
@@ -280,8 +280,7 @@ env: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L280
     env:
       - CONFIG_FLAG=--with-opt-dir=/usr/local/opt/openssl@1...:/usr/local/opt/zlib
       # Not using $JOBS which might be harmful for some tests because osx build often hangs for unknown reasons.
-      # Using -v because we're too lazy to build hard timeout for each test and thus can't easily detect which test is hanging forever without -v.
-      - TEST_ALL_OPTS="-v --tty=no --excludes=\$(TESTSDIR)/excludes/_travis/osx"
+      - TEST_ALL_OPTS="--tty=no --excludes=\$(TESTSDIR)/excludes/_travis/osx"
       # Also globally disabling $JOBS because even just building ruby could hang forever on osx.
       - JOBS=
 
@@ -370,7 +369,7 @@ before_script: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L369
 
 script:
   - $SETARCH make -s test TESTOPTS="${TESTOPTS=$JOBS -q --tty=no}"
-  - $SETARCH make -s test-all -o exts TESTOPTS="${TEST_ALL_OPTS=$TESTOPTS}"
+  - $SETARCH travis_wait 30 make -s test-all -o exts TESTOPTS="${TEST_ALL_OPTS=$TESTOPTS}"
   - $SETARCH make -s test-spec MSPECOPT=-ff # not using `-j` because sometimes `mspec -j` silently dies
 
 # Branch matrix.  Not all branches are Travis-ready so we limit branches here.

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

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