Fail test if load ~/.irbrc

This commit is contained in:
Kazuhiro NISHIYAMA 2019-06-11 12:32:13 +09:00
parent e4364dbf6e
commit 42ac8890ef
No known key found for this signature in database
GPG Key ID: 262ED8DBB4222F7A

View File

@ -422,6 +422,7 @@ before_script:
- |- - |-
[ -z "${GEMS_FOR_TEST}" ] || [ -z "${GEMS_FOR_TEST}" ] ||
$RUBY_PREFIX/bin/gem install --no-document $GEMS_FOR_TEST $RUBY_PREFIX/bin/gem install --no-document $GEMS_FOR_TEST
- echo "raise 'do not load ~/.irbrc in test'" > ~/.irbrc
script: script:
- $SETARCH make -s test TESTOPTS="${TESTOPTS=$JOBS -q --tty=no}" - $SETARCH make -s test TESTOPTS="${TESTOPTS=$JOBS -q --tty=no}"