aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-04-24 00:39:33 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-04-24 00:41:24 +0900
commitbc8e54911db505d9e1776673a86e956c7d7e3b89 (patch)
tree4feb808b63674f42c8c15e336a0484e5c69298d5 /.travis.yml
parent9629f4c0518f4a22fe8c149019c3d15005f4ef00 (diff)
downloadruby-bc8e54911db505d9e1776673a86e956c7d7e3b89.tar.gz
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.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 088f4540d1..4dbc8177d6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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.