aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorMike McQuaid2017-06-17 09:08:23 +0100
committerMike McQuaid2017-06-17 14:01:41 +0100
commit17c5304cc0bf0bed6dabf2a2ad241f5fa1e06499 (patch)
treef914a63579bfe3260ac1f720597b4c98efddf8ab /.travis.yml
parent275aa1d19d20e8473a6327de1f3eb8ff93c030bf (diff)
downloadbrew-17c5304cc0bf0bed6dabf2a2ad241f5fa1e06499.tar.bz2
travis.yml: tweak how we handle homebrew/test-bot.
On Linux this is currently blowing up for our tags so let's change the approach.
Diffstat (limited to '.travis.yml')
-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