language: ruby
services:
  - redis-server
rvm:
  - 2.0
  - 2.1
  - 2.2
  - jruby-19mode
  - jruby-20mode
  - jruby-21mode
gemfile:
  - gemfiles/rails_31.gemfile
  - gemfiles/rails_32.gemfile
  - gemfiles/rails_40.gemfile
  - gemfiles/rails_41.gemfile
  - gemfiles/rails_42.gemfile
script: bundle exec rake test

matrix:
  exclude:
    - rvm: jruby-19mode
      gemfile: gemfiles/rails_40.gemfile
    - rvm: jruby-19mode
      gemfile: gemfiles/rails_41.gemfile
    - rvm: jruby-19mode
      gemfile: gemfiles/rails_42.gemfile
    - rvm: 2.2.2
      gemfile: gemfiles/rails_31.gemfile
    - rvm: 2.2.2
      gemfile: gemfiles/rails_32.gemfile

language: ruby
services:
  - redis-server
before_install:
  - gem update --system
  - gem --version
  - gem update bundler
  - bundler --version
rvm:
  - 2.0
  - 2.1
  - 2.2
gemfile:
  - gemfiles/rails_31.gemfile
  - gemfiles/rails_32.gemfile
  - gemfiles/rails_40.gemfile
  - gemfiles/rails_41.gemfile
  - gemfiles/rails_42.gemfile
script: bundle exec rake test

matrix:
  exclude:
    - rvm: 2.2
      gemfile: gemfiles/rails_31.gemfile
    - rvm: 2.2
      gemfile: gemfiles/rails_32.gemfile

Update RubyGems and bundler before running tests
Update RubyGems and bundler before running tests

Signed-off-by: David Celis <b1c1d8736f20db3fb6c1c66bb1455ed43909f0d8@davidcel.is>
