diff options
| author | Mike McQuaid | 2017-05-30 09:51:06 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2017-05-30 09:51:06 +0100 |
| commit | 28cd0d385606f53609a5464fcb7e176f02a79cd6 (patch) | |
| tree | 6a38abcc3874988a2d16174d62c2ddc0a10497db /.travis.yml | |
| parent | 2f97b0ae5507ec90e89077eaf1ee7b4426690067 (diff) | |
| download | brew-28cd0d385606f53609a5464fcb7e176f02a79cd6.tar.bz2 | |
Fix Linux build
Remove `testbottest` formula (this should have lived in the `brew
test-bot` repository from the outset) and make various other changes to
fix the Linux build here.
Diffstat (limited to '.travis.yml')
| -rw-r--r-- | .travis.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 1c005422c..81642a2d6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,9 @@ matrix: rvm: 2.0.0 before_install: + - export HOMEBREW_NO_AUTO_UPDATE=1 - export HOMEBREW_DEVELOPER=1 + - git clone --depth=1 https://github.com/Homebrew/homebrew-test-bot Library/Taps/homebrew/homebrew-test-bot - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then HOMEBREW_REPOSITORY="$(brew --repo)"; sudo chown -R "$USER" "$HOMEBREW_REPOSITORY/Library/Taps"; @@ -24,7 +26,10 @@ before_install: sudo rm -rf "$HOMEBREW_REPOSITORY"; sudo ln -s "$PWD" "$HOMEBREW_REPOSITORY"; 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; umask 022; fi |
