sudo: false services: mongodb language: ruby cache: bundler rvm: - 2.4.10 - 2.5.8 - 2.6.6 - 2.7.1 gemfile: - gemfiles/active5.0.7.2.gemfile - gemfiles/active5.1.7.gemfile - gemfiles/active5.2.4.3.gemfile - gemfiles/active6.0.3.1.gemfile - gemfiles/rails5.0.7.2.gemfile - gemfiles/rails5.1.7.gemfile - gemfiles/rails5.2.4.3.gemfile - gemfiles/rails6.0.3.1.gemfile matrix: exclude: - rvm: 2.4.10 gemfile: gemfiles/active6.0.3.1.gemfile - rvm: 2.4.10 gemfile: gemfiles/rails6.0.3.1.gemfile fast_finish: true before_install: - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true - gem install bundler -v '< 2' script: - bundle exec rubocop -P - bundle exec rspec -f d spec