matrix:
  include:
    - os: osx
      osx_image: xcode8.3
      language: generic
    - os: osx
      osx_image: xcode8.2
      language: generic
    - os: osx
      osx_image: xcode8.1
      language: generic
    - os: osx
      osx_image: xcode8
      language: generic
    - os: osx
      osx_image: xcode7.3
      language: generic

script:
- brew install Formula/ocrmypdf.rb
- ocrmypdf --version

matrix:
  include:
    - os: osx
      osx_image: xcode8.3
      language: generic
    - os: osx
      osx_image: xcode8.2
      language: generic
    - os: osx
      osx_image: xcode8.1
      language: generic
    - os: osx
      osx_image: xcode8
      language: generic
    - os: osx
      osx_image: xcode7.3
      language: generic

script:
- brew update
- brew install Formula/ocrmypdf.rb
- ocrmypdf --version

Fix Travis CI macOS build failure
Fix Travis CI macOS build failure

With advice from here
https://github.com/PowerShell/PowerShell/issues/5062

...just do a brew update first

[ci skip]
