aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: af65cd3566830abd8cf26cc626ce6cc503ba9691 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
language: ruby
os: osx
env: OSX=10.11
osx_image: xcode7.3
rvm: system

before_install:
  - export TRAVIS_COMMIT=$(git rev-parse --verify -q HEAD)
  - cd /usr/local
  - sudo rm -rf /usr/local/.git/refs /usr/local/.git/packed-refs /usr/local/Library
  - sudo rsync -az "$TRAVIS_BUILD_DIR/" /usr/local/
  - sudo chown -R $USER /usr/local
  - export TRAVIS_BUILD_DIR="/usr/local"
  - if [ -f ".git/shallow" ]; then
      travis_retry git fetch --unshallow;
    fi
  - git reset --hard $TRAVIS_COMMIT
  - git clean -qxdff
  - export HOMEBREW_DEVELOPER="1"
  - ulimit -n 1024

script:
  - brew test-bot

notifications:
  slack:
    secure: Y5ZL6OcprSzAYQ3yVpvrhiQn1UQGd7reKNz3o7+7Bcy2k7DMr66xKBadTv1gK1Qrg9LugsmZ4CqOqKBwy7t5smktan/wsUo5y5HX3WUOG1nk0jQ4HOOZNT8bhUZc/Eu7ilH5UMqvIVsjrX9BjEZMeT4TxTIUD8zj5xUwgiAsD5k=
  email:
    on_success: never
    on_failure: always