language: ruby
sudo: false
rvm:
  - 2.0
  - 2.1.9
  - 2.2.6
  - 2.3.3
gemfile:
  - gemfiles/sprockets_rails_2_with_sprockets_2.gemfile
  - gemfiles/sprockets_rails_2_with_sprockets_3.gemfile
  - gemfiles/sprockets_rails_3_with_sprockets_3.gemfile
matrix:
  exclude:
    - rvm: 2.0
      gemfile: gemfiles/sprockets_rails_3_with_sprockets_3.gemfile
    - rvm: 2.1.9
      gemfile: gemfiles/sprockets_rails_3_with_sprockets_3.gemfile
branches:
  only:
    - master
before_install:
  - "gem update --system --no-doc"
after_script:
  - '[ ${TRAVIS_EVENT_TYPE} != "pull_request" ] && [ ${TRAVIS_BRANCH} = "master" ] && bundle exec codeclimate-test-reporter'

language: ruby
sudo: false
rvm:
  - 2.0
  - 2.1.9
  - 2.2.6
  - 2.3.3
gemfile:
  - gemfiles/sprockets_rails_2_with_sprockets_2.gemfile
  - gemfiles/sprockets_rails_2_with_sprockets_3.gemfile
  - gemfiles/sprockets_rails_3_with_sprockets_3.gemfile
matrix:
  exclude:
    - rvm: 2.0
      gemfile: gemfiles/sprockets_rails_3_with_sprockets_3.gemfile
    - rvm: 2.1.9
      gemfile: gemfiles/sprockets_rails_3_with_sprockets_3.gemfile
branches:
  only:
    - master
before_install:
  - "gem update --system --no-doc"
  - "gem install bundler"
after_script:
  - '[ ${TRAVIS_EVENT_TYPE} != "pull_request" ] && [ ${TRAVIS_BRANCH} = "master" ] && bundle exec codeclimate-test-reporter'

Update bundler gem on Travis CI
Update bundler gem on Travis CI

ref. https://github.com/bundler/bundler/issues/3558
