forked from Homebrew/legacy-homebrew
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (44 loc) · 1.3 KB
/
.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Force OS X.
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 HOMEBREW_RUBY=1.8.7
os: osx
osx_image: beta-xcode6.2
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
- 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
install:
- if [ "$HOMEBREW_RUBY" = "1.8.7" ]; then
brew install homebrew/versions/ruby187;
export PATH="/usr/local/opt/ruby187/bin:$PATH";
export HOMEBREW_RUBY_PATH="/usr/local/opt/ruby187/bin/ruby";
brew untap homebrew/versions;
fi
- export HOMEBREW_DEVELOPER="1"
script:
- brew test-bot
notifications:
slack:
secure: Y5ZL6OcprSzAYQ3yVpvrhiQn1UQGd7reKNz3o7+7Bcy2k7DMr66xKBadTv1gK1Qrg9LugsmZ4CqOqKBwy7t5smktan/wsUo5y5HX3WUOG1nk0jQ4HOOZNT8bhUZc/Eu7ilH5UMqvIVsjrX9BjEZMeT4TxTIUD8zj5xUwgiAsD5k=
email:
on_success: never
on_failure: always