language: ruby before_install: - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true - gem install bundler -v '< 2' before_script: - bundle install cache: bundler bundler_args: --verbose matrix: include: - rvm: "2.3.7" gemfile: gemfiles/rails_4_0.gemfile - rvm: "2.3.7" gemfile: gemfiles/rails_4_1.gemfile - rvm: "2.3.7" gemfile: gemfiles/rails_4_2.gemfile - rvm: "2.4.6" gemfile: gemfiles/rails_4_2.gemfile - rvm: "2.5.5" gemfile: gemfiles/rails_4_2.gemfile script: 'bundle exec rspec' notifications: email: recipients: - adam.meehan@gmail.com on_failure: change on_success: never