homebrew-core/.travis.yml
Xu Cheng 8e26104d4c travis: fix tap content relocation
* remove existed tap to prevent old content interference.
* make directory to make rsync happy.
2016-04-02 23:20:30 +08:00

48 lines
1.9 KiB
YAML

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