aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2018-02-21 09:04:34 +0000
committerMike McQuaid2018-02-21 09:04:34 +0000
commit157f84a74d4274f1fcfc73eda94a819cb68df944 (patch)
treedbfe6761e765b72ead87abb3fa1d1f8fc038af5d
parent73ba9b3d880ae72e2dd8649d60b3a338ba744ac0 (diff)
downloadbrew-157f84a74d4274f1fcfc73eda94a819cb68df944.tar.bz2
travis.yml: use homebrew/homebrew-core on Linux.
-rw-r--r--.travis.yml13
1 files changed, 2 insertions, 11 deletions
diff --git a/.travis.yml b/.travis.yml
index fd43e3942..37417a10a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -36,22 +36,13 @@ before_install:
mv "$HOMEBREW_REPOSITORY/Library/Taps" "$PWD/Library";
sudo rm -rf "$HOMEBREW_REPOSITORY";
sudo ln -s "$PWD" "$HOMEBREW_REPOSITORY";
- else
- HOMEBREW_CORE_TAP_DIR="$(brew --repo "homebrew/core")";
- mkdir -p "$HOMEBREW_CORE_TAP_DIR";
fi
- if [ "$MACOS" ]; then
travis_retry git -C Library/Taps/homebrew/homebrew-core fetch --depth=1 origin;
+ else
+ travis_retry git clone --depth=1 https://github.com/Homebrew/homebrew-core Library/Taps/homebrew/homebrew-core;
fi
- travis_retry git clone --depth=1 https://github.com/Homebrew/homebrew-test-bot Library/Taps/homebrew/homebrew-test-bot
- - if [ "$LINUX" ]; then
- 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";
- fi
- # can be removed after 1.5.3 is tagged
- - if [ "$LINUX" ]; then
- export HOMEBREW_FORCE_VENDOR_RUBY=1;
- fi
script:
- brew test-bot