forked from bobthecow/homebrew-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (36 loc) · 991 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
33
34
35
36
37
38
39
language: objective-c
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:
- ulimit -n 4096
- 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 tap homebrew/dupes
- brew tap homebrew/versions
- brew update
- ln -s $PWD $(brew --repo)/Library/Taps/homebrew/homebrew-php
- cd $(brew --repo)/Library/Taps/homebrew/homebrew-php
- export TRAVIS_BUILD_DIR="$(brew --repo)/Library/Taps/homebrew/homebrew-php"
- export HOMEBREW_DEVELOPER="1"
- export HOMEBREW_NO_ANALYTICS="1"
- env | grep TRAVIS_
script:
- brew test-bot
notifications:
email:
on_success: never
on_failure: always