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.