mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Extend travis_wait to 50min for osx
but shorten --timeout-scale for now to avoid finishing with timeout
if possible.
timeout: 564370175
This commit is contained in:
parent
f1b76ea63c
commit
adf13625ae
1 changed files with 2 additions and 2 deletions
|
@ -337,7 +337,7 @@ env:
|
||||||
<<: *osx
|
<<: *osx
|
||||||
env:
|
env:
|
||||||
- CONFIG_FLAG=--with-opt-dir=/usr/local/opt/openssl@1.1:/usr/local/opt/zlib
|
- CONFIG_FLAG=--with-opt-dir=/usr/local/opt/openssl@1.1:/usr/local/opt/zlib
|
||||||
- TEST_ALL_OPTS="--timeout-scale=3.0 --tty=no --excludes=\$(TESTSDIR)/excludes/_travis/osx --exclude test_gc_compact"
|
- TEST_ALL_OPTS="--timeout-scale=2.0 --tty=no --excludes=\$(TESTSDIR)/excludes/_travis/osx --exclude test_gc_compact"
|
||||||
- TEST_ALL_ISOLATED_TESTS="../test/ruby/test_gc_compact.rb"
|
- TEST_ALL_ISOLATED_TESTS="../test/ruby/test_gc_compact.rb"
|
||||||
# Disabling -j3 because it seems to cause a hang on building Ruby: https://travis-ci.org/ruby/ruby/jobs/471021727
|
# Disabling -j3 because it seems to cause a hang on building Ruby: https://travis-ci.org/ruby/ruby/jobs/471021727
|
||||||
- JOBS=
|
- JOBS=
|
||||||
|
@ -480,7 +480,7 @@ before_script:
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- $SETARCH make -s test TESTOPTS="${TESTOPTS=$JOBS -q --tty=no}"
|
- $SETARCH make -s test TESTOPTS="${TESTOPTS=$JOBS -q --tty=no}"
|
||||||
- travis_wait 40 $SETARCH make -s test-all -o exts TESTOPTS="${TEST_ALL_OPTS=$TESTOPTS}" RUBYOPT="-w"
|
- travis_wait 50 $SETARCH make -s test-all -o exts TESTOPTS="${TEST_ALL_OPTS=$TESTOPTS}" RUBYOPT="-w"
|
||||||
- |-
|
- |-
|
||||||
if [ -n "${TEST_ALL_ISOLATED_TESTS}" ]; then
|
if [ -n "${TEST_ALL_ISOLATED_TESTS}" ]; then
|
||||||
$SETARCH make -s test-all -o exts TESTS="$TEST_ALL_ISOLATED_TESTS" RUBYOPT="-w"
|
$SETARCH make -s test-all -o exts TESTS="$TEST_ALL_ISOLATED_TESTS" RUBYOPT="-w"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue