Update .travis.yml

This commit is contained in:
Mike McQuaid 2018-01-26 10:12:05 +00:00 committed by GitHub
parent 377528665a
commit 50003d4ddc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,8 +24,8 @@ before_install:
HOMEBREW_REPOSITORY="$(brew --repo)";
sudo chown -R "$USER" "$HOMEBREW_REPOSITORY/Library/Taps";
mv "$HOMEBREW_REPOSITORY/Library/Taps" "$PWD/Library";
git -C Library/homebrew/homebrew-core fetch --force origin
git -C Library/homebrew/homebrew-core checkout --force -B master origin/master
git -C Library/Taps/homebrew/homebrew-core fetch --force origin
git -C Library/Taps/homebrew/homebrew-core checkout --force -B master origin/master
sudo rm -rf "$HOMEBREW_REPOSITORY";
sudo ln -s "$PWD" "$HOMEBREW_REPOSITORY";
git clone --depth=1 https://github.com/Homebrew/homebrew-test-bot Library/Taps/homebrew/homebrew-test-bot;