sudo: false
language: objective-c
os: osx
matrix:
  include:
    - osx_image: xcode6.4
    - osx_image: xcode7
before_install:
  - brew update
install:
  - mkdir -p $(brew --repo)/Library/Taps/travis
  - ln -s $PWD $(brew --repo)/Library/Taps/travis/homebrew-testtap
  - brew tap --repair
  - gem install rubocop --no-document
script:
  - rubocop --config=$(brew --repo)/Library/.rubocop.yml iwyu.rb
  - brew audit iwyu
  - brew install -v iwyu
  - brew test iwyu

sudo: false
language: objective-c
os: osx
matrix:
  include:
    - osx_image: xcode6.4
    - osx_image: xcode7
before_install:
  - brew update; brew update
install:
  - mkdir -p $(brew --repo)/Library/Taps/travis
  - ln -s $PWD $(brew --repo)/Library/Taps/travis/homebrew-testtap
  - brew tap --repair
  - gem install rubocop --no-document
script:
  - rubocop --config=$(brew --repo)/Library/.rubocop.yml iwyu.rb
  - brew audit iwyu
  - brew install -v iwyu
  - brew test iwyu

Work around annoying Homebrew bug
Work around annoying Homebrew bug

Something like this was probably bound to happen eventually.

See Homebrew/homebrew#42553.
