language: objective-c

osx_image: xcode7.2

sudo: false # Enable container-based builds

env:
  matrix:
    - SCHEME="SwiftGit2-OSX"
    - SCHEME="SwiftGit2-iOS"

matrix:
  fast_finish: true

before_install:
  - gem install xcpretty
  - gem install xcpretty-travis-formatter

install: script/bootstrap

script: script/cibuild

branches:
  only: # whitelist
    - master

notifications:
  email: false

language: objective-c

osx_image: xcode7.2

sudo: false # Enable container-based builds

env:
  matrix:
    - SCHEME="SwiftGit2-OSX"
    - SCHEME="SwiftGit2-iOS"

matrix:
  fast_finish: true

before_install:
  - gem update bundler # https://github.com/bundler/bundler/pull/4981
  - gem install xcpretty
  - gem install xcpretty-travis-formatter

install: script/bootstrap

script: script/cibuild

branches:
  only: # whitelist
    - master

notifications:
  email: false

Update the bundler gem during Travis before_install
Update the bundler gem during Travis before_install

This should avoid the error with Bundler 1.13.2:
/Users/travis/.rvm/gems/ruby-2.0.0-p648/gems/bundler-1.13.2/lib/bundler/rubygems_ext.rb:45:in `full_gem_path': uninitialized constant Bundler::Plugin::API::Source (NameError)
