Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f432fd6

Browse files
committed
.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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 4fb8d00 commit f432fd6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,7 @@ env:
280280
env:
281281
- CONFIG_FLAG=--with-opt-dir=/usr/local/opt/[email protected]:/usr/local/opt/zlib
282282
# Not using $JOBS which might be harmful for some tests because osx build often hangs for unknown reasons.
283-
# 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.
284-
- TEST_ALL_OPTS="-v --tty=no --excludes=\$(TESTSDIR)/excludes/_travis/osx"
283+
- TEST_ALL_OPTS="--tty=no --excludes=\$(TESTSDIR)/excludes/_travis/osx"
285284
# Also globally disabling $JOBS because even just building ruby could hang forever on osx.
286285
- JOBS=
287286

@@ -370,7 +369,7 @@ before_script:
370369
371370
script:
372371
- $SETARCH make -s test TESTOPTS="${TESTOPTS=$JOBS -q --tty=no}"
373-
- $SETARCH make -s test-all -o exts TESTOPTS="${TEST_ALL_OPTS=$TESTOPTS}"
372+
- $SETARCH travis_wait 30 make -s test-all -o exts TESTOPTS="${TEST_ALL_OPTS=$TESTOPTS}"
374373
- $SETARCH make -s test-spec MSPECOPT=-ff # not using `-j` because sometimes `mspec -j` silently dies
375374

376375
# Branch matrix. Not all branches are Travis-ready so we limit branches here.

0 commit comments

Comments
 (0)