addons:
  postgresql: "9.6"
rvm:
  - 2.3.0
  - 2.4.0
  - 2.5.0
  - 2.6.0
gemfile:
  - gemfiles/rails_5.0.gemfile
  - gemfiles/rails_5.1.gemfile
  - gemfiles/rails_5.2.gemfile
  - gemfiles/rails_6.0.gemfile
matrix:
  exclude:
  - rvm: 2.3.0
    gemfile: gemfiles/rails_6.0.gemfile
  - rvm: 2.4.0
    gemfile: gemfiles/rails_6.0.gemfile
before_install:
  - rvm @global do bundle install
  - (cd spec/dummy && rvm @global do bin/rake db:create RAILS_ENV=test)
script:
  - bundle exec rubocop
  - bundle exec rspec

addons:
  postgresql: "9.6"
rvm:
  - 2.3.0
  - 2.4.0
  - 2.5.0
  - 2.6.0
gemfile:
  - gemfiles/rails_5.0.gemfile
  - gemfiles/rails_5.1.gemfile
  - gemfiles/rails_5.2.gemfile
  - gemfiles/rails_6.0.gemfile
matrix:
  exclude:
  - rvm: 2.3.0
    gemfile: gemfiles/rails_6.0.gemfile
  - rvm: 2.4.0
    gemfile: gemfiles/rails_6.0.gemfile
before_install:
  - rvm @global do gem install --force bundler -v 1.17.3
  - rvm @global do bundle install
  - (cd spec/dummy && rvm @global do bin/rake db:create RAILS_ENV=test)
script:
  - rvm @global do bundle exec rubocop
  - rvm @global do bundle exec rspec

Install the latest version of bundler
Install the latest version of bundler
