language: ruby
rvm:
  - "1.8.7"
  - "1.9.2"
  - "1.9.3"
  - "2.0.0"
  - "2.1"
  - "2.2"
  - jruby-18mode # JRuby in 1.8 mode
  - jruby-19mode # JRuby in 1.9 mode

script:
  - bundle exec rspec
  - ruby script/rubocop.rb
bundler_args: --without development

language: ruby
rvm:
  - "1.8.7"
  - "1.9.2"
  - "1.9.3"
  - "2.0.0"
  - "2.1"
  - "2.2"
  - jruby-18mode # JRuby in 1.8 mode
  - jruby-19mode # JRuby in 1.9 mode

before_install:
  - gem install bundler

script:
  - bundle exec rspec
  - ruby script/rubocop.rb

bundler_args: --without development

Update bundler before doing bundle install
Update bundler before doing bundle install
