language: ruby
rvm:
  - 2.5.8
  - 2.6.6
  - 2.7.0
  - ruby-head
gemfile:
  - gemfiles/rails_5.0.gemfile
  - gemfiles/rails_5.1.gemfile
  - gemfiles/rails_5.2.gemfile
  - gemfiles/rails_6.0.gemfile
matrix:
  exclude:
    - rvm: ruby-head
      gemfile: gemfiles/rails_5.0.gemfile
script:
  - bundle exec rake rubocop
  - bundle exec rspec

language: ruby
rvm:
  - 2.5.8
  - 2.6.6
  - 2.7.0
  - ruby-head
gemfile:
  - gemfiles/rails_5.0.gemfile
  - gemfiles/rails_5.1.gemfile
  - gemfiles/rails_5.2.gemfile
  - gemfiles/rails_6.0.gemfile
matrix:
  exclude:
    - rvm: ruby-head
      gemfile: gemfiles/rails_5.0.gemfile
    - rvm: ruby-head
      gemfile: gemfiles/rails_5.1.gemfile
    - rvm: ruby-head
      gemfile: gemfiles/rails_5.2.gemfile
script:
  - bundle exec rake rubocop
  - bundle exec rspec

Revert "Attempt to test rails 5.1 and 5.2 against ruby-head"
Revert "Attempt to test rails 5.1 and 5.2 against ruby-head"

This reverts commit 5ff5ab071d544305a6b3835e5f2da84c4593d7bf.
