From bc8e54911db505d9e1776673a86e956c7d7e3b89 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Wed, 24 Apr 2019 00:39:33 +0900 Subject: 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. --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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. -- cgit v1.2.3