travis: Upgrade RubyGems to the latest version and install bundler 2

This fixes build failures due to Bundler 2.0 requires rubygems >= 3.0.0
This commit is contained in:
Claudio Bley 2019-01-04 11:30:18 +01:00
parent 53a3cc9a5a
commit b6a5366159

View file

@ -15,6 +15,11 @@ rvm:
- '2.5'
- '2.6'
before_install:
- gem update --system
- gem --version
- gem install bundler -v '~> 2'
script:
- bundle exec rubocop
- bundle exec rake spec