language: ruby
cache: bundler
sudo: false
dist: trusty

branches:
  only: master

rvm:
  - 2.2
  - 2.3
  - 2.4
  - 2.5
  - ruby-head

before_install:
  - eval "$(curl --connect-timeout 30 --retry 3 -Ss https://raw.githubusercontent.com/neovim/bot-ci/master/scripts/travis-setup.sh) nightly-x64"
  - gem update --system --conservative || (gem install "rubygems-update:~>2.7" --no-document && update_rubygems)
  - gem install --remote bundler
  - bundle --version

env: NVIM_RUBY_LOG_LEVEL=DEBUG NVIM_RUBY_LOG_FILE=ci.log
script: bundle exec rake --trace

language: ruby
cache: bundler
sudo: false
dist: trusty

branches:
  only: master

rvm:
  - 2.2
  - 2.3
  - 2.4
  - 2.5
  - ruby-head

before_install:
  - eval "$(curl --connect-timeout 30 --retry 3 -Ss https://raw.githubusercontent.com/neovim/bot-ci/master/scripts/travis-setup.sh) nightly-x64"
  - gem update --system --conservative || (gem install "rubygems-update:~>2.7" --no-document && update_rubygems)
  - gem install --remote bundler -v "1.17.3"
  - bundle --version

env: NVIM_RUBY_LOG_LEVEL=DEBUG NVIM_RUBY_LOG_FILE=ci.log
script: bundle exec rake --trace

Fix bundler error for ruby 2.2
Fix bundler error for ruby 2.2
