only build docs for latest ruby

This commit is contained in:
HoneyryderChuck 2018-02-24 20:18:06 +00:00
parent 16c06f0de6
commit cea5feefdd
2 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,7 @@ task :rubocop do
RuboCop::RakeTask.new
end
task :"test:ci" => %i[test rubocop website_rdoc]
task :"test:ci" => %i[test rubocop]
# Doc

View File

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