language: objective-c
matrix:
  include:
    - env: OSX=10.11
      os: osx
      osx_image: osx10.11
      rvm: system
    - env: OSX=10.10
      os: osx
      osx_image: xcode7
      rvm: system
    - env: OSX=10.9
      os: osx
      osx_image: beta-xcode6.2
      rvm: system

before_install:
  - sudo chown -R $USER $(brew --repo)
  - git -C $(brew --repo) reset --hard origin/master
  - git -C $(brew --repo) clean -qxdff
  - mkdir -p $(brew --repo)/Library/Taps/kaos
  - ln -s $PWD $(brew --repo)/Library/Taps/${TRAVIS_REPO_SLUG}
  - cd $(brew --repo)/Library/Taps/${TRAVIS_REPO_SLUG}
  - export TRAVIS_BUILD_DIR="$(brew --repo)/Library/Taps/${TRAVIS_REPO_SLUG}"
  - env | grep TRAVIS_

script:
  - brew audit --strict

notifications:
  email:
    on_success: never
    on_failure: always

language: objective-c
matrix:
  include:
    - env: OSX=10.11
      os: osx
      osx_image: osx10.11
      rvm: system
    - env: OSX=10.10
      os: osx
      osx_image: xcode7
      rvm: system
    - env: OSX=10.9
      os: osx
      osx_image: beta-xcode6.2
      rvm: system

before_install:
  - if [ -f ".git/shallow" ]; then travis_retry git fetch --unshallow; fi
  - sudo chown -R $USER $(brew --repo)
  - git -C $(brew --repo) reset --hard origin/master
  - git -C $(brew --repo) clean -qxdff
  - brew update
  - mkdir -p $(brew --repo)/Library/Taps/kaos
  - ln -s $PWD $(brew --repo)/Library/Taps/${TRAVIS_REPO_SLUG}
  - cd $(brew --repo)/Library/Taps/${TRAVIS_REPO_SLUG}
  - export TRAVIS_BUILD_DIR="$(brew --repo)/Library/Taps/${TRAVIS_REPO_SLUG}"
  - env | grep TRAVIS_

script:
  - brew test-bot --tap=kaos/shell

notifications:
  email:
    on_success: never
    on_failure: always

Revert "do not use the test-bot, only use audit --strict."
Revert "do not use the test-bot, only use audit --strict."

This reverts commit c833e1ac4aed3fac00b7ade43d2da795088921ba.
