diff options
| author | Martin Afanasjew | 2016-04-02 22:33:57 +0200 |
|---|---|---|
| committer | Xu Cheng | 2016-04-03 12:15:47 +0800 |
| commit | 75961721ee5401dda6c5411e8a812e1b87b34ab1 (patch) | |
| tree | 984f601227c509759cb6e03dfc01242ba2d5bf2c /Library | |
| parent | 9f79c05656a44f926898774c6029025002bcd621 (diff) | |
| download | brew-75961721ee5401dda6c5411e8a812e1b87b34ab1.tar.bz2 | |
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.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/test-bot.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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"]}" |
