From 82ef172a8cb90819bf835e468eb8af2323e3bccf Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Wed, 24 Apr 2019 01:10:13 +0900 Subject: The step should not fail when isolated tests do not exist --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 4dbc8177d6..ef2f27f37a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -384,8 +384,9 @@ 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" + if [ -n "${TEST_ALL_ISOLATED_TESTS}" ]; then + $SETARCH make -s test-all -o exts TESTS="$TEST_ALL_ISOLATED_TESTS" RUBYOPT="-w" + fi - $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