rvm:
  - 1.9.3
  - 2.0.0
  - 2.1.*
  - 2.2.*
gemfile:
  - Gemfile
before_script: gem update bundler

rvm:
  - 1.9.3
  - 2.0.0
  - 2.1.*
  - 2.2.*
gemfile:
  - Gemfile
before_install: gem update bundler

Use before_install instead of before_script
Use before_install instead of before_script