aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 81642a2d6..a5cf08cd9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -28,8 +28,10 @@ before_install:
else
git fetch --unshallow;
export PATH="$PWD/bin:$PATH";
- rm -rf Library/Taps/homebrew/homebrew-test-bot/.git;
- mv Library/Taps/homebrew/homebrew-test-bot Library/Taps/homebrew/homebrew-core;
+ HOMEBREW_CORE_TAP_DIR="$(brew --repo "homebrew/core")";
+ mkdir -p "$HOMEBREW_CORE_TAP_DIR";
+ HOMEBREW_TEST_BOT_TAP_DIR="$(brew --repo "homebrew/test-bot")";
+ ln -s "$HOMEBREW_TEST_BOT_TAP_DIR/.git" "$HOMEBREW_TEST_BOT_TAP_DIR/Formula" "$HOMEBREW_CORE_TAP_DIR";
umask 022;
fi