forked from Homebrew/homebrew-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (44 loc) · 1.89 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
language: ruby
matrix:
include:
- env: OSX=10.11
os: osx
osx_image: xcode7.2
rvm: system
- env: OSX=10.10
os: osx
osx_image: xcode7.1
rvm: system
- env: OSX=10.9
os: osx
osx_image: beta-xcode6.2
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
- 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 $TRAVIS_REPO_SLUG)"
- env | grep TRAVIS_
install:
- if [ "$HOMEBREW_RUBY" = "1.8.7" ]; then
brew install homebrew/versions/ruby187;
export HOMEBREW_RUBY_PATH="/usr/local/opt/ruby187/bin/ruby";
brew untap homebrew/versions;
fi
- export HOMEBREW_DEVELOPER="1"
- ulimit -n 1024
script:
- brew test-bot
notifications:
slack:
secure: lx4hvqKGzMHTl/Y5+AR58uhJpeoPPCUlKPfcnjW4rQjEp/834B2DQnJiyztvfNjm95LTOAJUJmpHKrF4bEokwRHaZY+dywI93yle6Nm185gIr6krXymrUDG8aSsOIFbr9dDHWFDxRMzOOyF/gAJxLrg0kt/R5ZoS33es0Y98KLd9Ebgm4+NDKjl1R67ZgVzqH0uDg7wNHCY/aAkIx27d8xTMgDxHnu82p4gmPn74obPCUNoBL1pqOvOj+WFlLSD9SH2s28yh2OU9suIPrCAQgcKM6IrLQqaupTQSW7T4Y2XJXMe8h+UxfFV0ha8NbOietZlHEzRvQ9B7tPhkDsSKaTb9D78/mRHL5w0ldo8wjT2feLcn+GW9Qss2g6VAkMNfwBPdRWtevHCm866xv1SXYCVCjIsLFTOnv1lxUCDB401dn7ircKB8Zq7TOj31k/MJgh96SKQJYX+TREHHoBGL/+mlat4M7wX7LS/CKV55rKdqkT3qdensLClr7xFMRYshqo5qhGBDOsMLVu39VSZBA2vCpEFWfgJE1PbtgYHPgUKtD91lbhR5VZP73k4dM8MZyMOzRv4sRNw4XKyRqmQczhD0sPvTYPVRsvBDTb/0Zl5F6IOzIQhb1O176yi9cWw4xheioaiUqXUQIW/XUshj86htiAGS3+6uGN+Y1tEWVW0=
email:
on_success: never
on_failure: always