do not build documentation if tests fail

This commit is contained in:
HoneyryderChuck 2018-06-11 19:16:44 +01:00
parent b2cc1c8d4a
commit 81d7a1714f

View File

@ -10,7 +10,7 @@ RET=$?
RUBY_VERSION=`ruby -e 'puts RUBY_VERSION'`
if [[ ${RUBY_VERSION:0:3} = "2.5" ]]; then
if [[ $RET = 0 ]] && [[ ${RUBY_VERSION:0:3} = "2.5" ]]; then
bundle exec rake website_rdoc && \
cd www && bundle install && \
bundle exec jekyll build -d public