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:
parent
b9dd5222a9
commit
dbf25c038e
1 changed files with 2 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue