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.
This commit is contained in:
parent
275aa1d19d
commit
17c5304cc0
@ -28,8 +28,10 @@ before_install:
|
|||||||
else
|
else
|
||||||
git fetch --unshallow;
|
git fetch --unshallow;
|
||||||
export PATH="$PWD/bin:$PATH";
|
export PATH="$PWD/bin:$PATH";
|
||||||
rm -rf Library/Taps/homebrew/homebrew-test-bot/.git;
|
HOMEBREW_CORE_TAP_DIR="$(brew --repo "homebrew/core")";
|
||||||
mv Library/Taps/homebrew/homebrew-test-bot Library/Taps/homebrew/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;
|
umask 022;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user