language: ruby cache: bundler rvm: - 2.3 - 2.4 - 2.5 - ruby-head before_install: - gem install bundler gemfile: # ignore 4.2 for now as the cost to run these tests is too high # - gemfiles/rails_4.2.gemfile - gemfiles/rails_5.0.gemfile - gemfiles/rails_5.1.gemfile - gemfiles/rails_5.2.gemfile - gemfiles/mongoid_4.0.gemfile - gemfiles/mongoid_5.0.gemfile - gemfiles/mongoid_6.0.gemfile matrix: include: - rvm: ruby-head env: RUBYOPT="--enable-frozen-string-literal" allow_failures: - rvm: ruby-head addons: code_climate: repo_token: b84a33c35c698270ad54261655bc25161a0853386825a2d54fb1c7a11c2b2785