diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2019-04-24 01:10:13 +0900 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2019-04-24 01:10:14 +0900 |
commit | 82ef172a8cb90819bf835e468eb8af2323e3bccf (patch) | |
tree | 1bbfcad6cf3dc3c1515c7d5e2170244da8f3d6ff /.travis.yml | |
parent | bc8e54911db505d9e1776673a86e956c7d7e3b89 (diff) | |
download | ruby-82ef172a8cb90819bf835e468eb8af2323e3bccf.tar.gz |
The step should not fail when isolated tests
do not exist
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 5 |
1 files changed, 3 insertions, 2 deletions
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. |