Skip to content
Snippets Groups Projects
Commit 75961721 authored by Martin Afanasjew's avatar Martin Afanasjew Committed by Xu Cheng
Browse files

test-bot: clean up on Jenkins before building PR

Wipe everything from the Homebrew prefix except for the `Library/Taps`
directory to avoid having to refetch `homebrew/core` every time.
parent 9f79c056
No related branches found
No related tags found
No related merge requests found
......@@ -285,6 +285,7 @@ module Homebrew
@url = ENV["ghprbPullLink"]
@hash = nil
test "git", "checkout", "origin/master"
test "git", "clean", "-qxdff", "--exclude=/Library/Taps/"
# Use Travis CI pull-request variables for pull request jobs.
elsif travis_pr
@url = "https://github.com/#{ENV["TRAVIS_REPO_SLUG"]}/pull/#{ENV["TRAVIS_PULL_REQUEST"]}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment