mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Isolate test_gc_compact for osx Travis
After `GC.compact`, test/shell/test_command_processor.rb seems to be made unstable on osx Travis like https://travis-ci.org/ruby/ruby/jobs/523487997. For investigating whether it's impacting that or not, let me try isolating that for osx Travis for now.
This commit is contained in:
parent
9629f4c051
commit
bc8e54911d
1 changed files with 5 additions and 1 deletions
|
@ -275,7 +275,8 @@ env:
|
|||
<<: *osx
|
||||
env:
|
||||
- CONFIG_FLAG=--with-opt-dir=/usr/local/opt/openssl@1.1:/usr/local/opt/zlib
|
||||
- TEST_ALL_OPTS="--tty=no --excludes=\$(TESTSDIR)/excludes/_travis/osx"
|
||||
- TEST_ALL_OPTS="--tty=no --excludes=\$(TESTSDIR)/excludes/_travis/osx --exclude test_gc_compact"
|
||||
- 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
|
||||
- JOBS=
|
||||
|
||||
|
@ -382,6 +383,9 @@ before_script:
|
|||
script:
|
||||
- $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"
|
||||
- |-
|
||||
[ -n "${TEST_ALL_ISOLATED_TESTS}" ] &&
|
||||
$SETARCH make -s test-all -o exts TESTS="$TEST_ALL_ISOLATED_TESTS" RUBYOPT="-w"
|
||||
- $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.
|
||||
|
|
Loading…
Reference in a new issue