sudo: false
before_script:
  - "bundle exec rake prepare_test_env"
script: "bundle exec rspec"
language: ruby
cache: bundler
services: mongodb
rvm:
  - 1.9.3
  - 2.0.0
  - 2.1.8
  - 2.2.4
  - 2.3.0
  #  FIXME: failing native extensions
  #- ruby-head
  #  TODO: investigate failure
  #  This is an arbitrary failure on travis
  #- jruby-19mode
  #- jruby-head
  #- rbx-19mode
gemfile:
  - gemfiles/mongoid2.gemfile
  - gemfiles/mongoid3.gemfile
  - gemfiles/mongoid4.gemfile
  - gemfiles/rails3.gemfile
  - gemfiles/rails4.gemfile
  - gemfiles/rails41.gemfile
  - gemfiles/rails42.gemfile
  - gemfiles/rails50.gemfile
matrix:
  exclude:
    - rvm: 1.9.2
      gemfile: gemfiles/mongoid3.gemfile
    - rvm: 1.9.2
      gemfile: gemfiles/rails4.gemfile
    - rvm: 1.9.3
      gemfile: gemfiles/rails50.gemfile
    - rvm: 2.0.0
      gemfile: gemfiles/rails50.gemfile
    - rvm: 2.1.8
      gemfile: gemfiles/rails50.gemfile
notifications:
  recipients:
    - andreas@aloop.org

sudo: false
before_script:
  - "bundle exec rake prepare_test_env"
script: "bundle exec rspec"
language: ruby
cache: bundler
services: mongodb
rvm:
  - 1.9.3
  - 2.0.0
  - 2.1.8
  - 2.2.4
  - 2.3.0
  - 2.4.0
  #  FIXME: failing native extensions
  #- ruby-head
  #  TODO: investigate failure
  #  This is an arbitrary failure on travis
  #- jruby-19mode
  #- jruby-head
  #- rbx-19mode
gemfile:
  - gemfiles/mongoid2.gemfile
  - gemfiles/mongoid3.gemfile
  - gemfiles/mongoid4.gemfile
  - gemfiles/rails3.gemfile
  - gemfiles/rails4.gemfile
  - gemfiles/rails41.gemfile
  - gemfiles/rails42.gemfile
  - gemfiles/rails50.gemfile
matrix:
  exclude:
    - rvm: 1.9.2
      gemfile: gemfiles/mongoid3.gemfile
    - rvm: 1.9.2
      gemfile: gemfiles/rails4.gemfile
    - rvm: 1.9.3
      gemfile: gemfiles/rails50.gemfile
    - rvm: 2.0.0
      gemfile: gemfiles/rails50.gemfile
    - rvm: 2.1.8
      gemfile: gemfiles/rails50.gemfile
notifications:
  recipients:
    - andreas@aloop.org

Add ruby 2.4.0 as a build traget
Add ruby 2.4.0 as a build traget
