travis: fix rsync

Without the trailing `/`, rsync will create an unnecessary folder over
the tap path, which leads the filesystem to something like:

  Library/Taps/homebrew/homebrew-core/homebrew-core/...

This is a partial fix for https://github.com/Homebrew/brew/issues/100
This commit is contained in:
Xu Cheng 2016-04-19 16:35:02 +08:00
parent b9dd5222a9
commit dbf25c038e

View file

@ -15,16 +15,14 @@ before_install:
- 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)"
- 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)"
install:
- export HOMEBREW_DEVELOPER="1"
- ulimit -n 1024
script:
- brew test-bot --tap=homebrew/core
- brew test-bot
notifications:
slack: