forked from osrf/homebrew-simulation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (29 loc) · 851 Bytes
/
.travis.yml
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
31
32
language: ruby
matrix:
include:
- env: OSX=10.11
os: osx
osx_image: xcode7.3
rvm: system
before_install:
- export TRAVIS_COMMIT="$(git rev-parse --verify -q HEAD)"
- 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 || brew update
- rm -rf "$(brew --repo $TRAVIS_REPO_SLUG)"
- mkdir -p "$(brew --repo $TRAVIS_REPO_SLUG)"
- rsync -az "$TRAVIS_BUILD_DIR/" "$(brew --repo $TRAVIS_REPO_SLUG)"
- export TRAVIS_BUILD_DIR="$(brew --repo $TRAVIS_REPO_SLUG)"
- cd "$(brew --repo)"
- export HOMEBREW_DEVELOPER="1"
- ulimit -n 1024
script:
- brew test-bot --fast
notifications:
email:
on_success: never
on_failure: always