language: ruby
rvm:
  - 2.2
  - 2.3
  - 2.4

gemfile:
  - gemfiles/rails_4.gemfile
  - gemfiles/rails_5.gemfile

matrix:
  fast_finish: true

cache: bundler

sudo: false

install: bundle install --without development --retry=3 --jobs=3

script:
  - bundle exec rubocop
  - bundle exec rspec

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

gemfile:
  - gemfiles/rails_4.gemfile
  - gemfiles/rails_5.gemfile

matrix:
  fast_finish: true

cache: bundler

sudo: false

install: bundle install --without development --retry=3 --jobs=3

script:
  - bundle exec rubocop
  - bundle exec rspec

Test gem with Ruby 2.5.
Test gem with Ruby 2.5.
