From 75961721ee5401dda6c5411e8a812e1b87b34ab1 Mon Sep 17 00:00:00 2001 From: Martin Afanasjew Date: Sat, 2 Apr 2016 22:33:57 +0200 Subject: 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. --- Library/Homebrew/cmd/test-bot.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'Library') diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb index a30a85e6a..516fb3756 100644 --- a/Library/Homebrew/cmd/test-bot.rb +++ b/Library/Homebrew/cmd/test-bot.rb @@ -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"]}" -- cgit v1.2.3