1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

The step should not fail when isolated tests

do not exist
This commit is contained in:
Takashi Kokubun 2019-04-24 01:10:13 +09:00
parent bc8e54911d
commit 82ef172a8c
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -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.