language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - jruby-18mode # JRuby in 1.8 mode - jruby-19mode # JRuby in 1.9 mode - rbx-18mode - rbx-19mode services: mongodb gemfile: - gemfiles/mongoid2.gemfile - gemfiles/mongoid3.gemfile matrix: exclude: # not supported by Mongoid 3 - rvm: 1.8.7 gemfile: gemfiles/mongoid3.gemfile - rvm: 1.9.2 gemfile: gemfiles/mongoid3.gemfile - rvm: jruby-18mode gemfile: gemfiles/mongoid3.gemfile - rvm: rbx-18mode gemfile: gemfiles/mongoid3.gemfile