test-bot: tap cask before cask-tests.

This commit is contained in:
Mike McQuaid 2016-08-17 14:47:24 +01:00
parent 3774b4641f
commit 8490985953

View File

@ -669,6 +669,7 @@ module Homebrew
test "brew", "readall", "--syntax"
if OS.mac? &&
(HOMEBREW_REPOSITORY/"Library/Homebrew/cask/cmd/brew-cask-tests.rb").exist?
run_as_not_developer { test "brew", "tap", "caskroom/cask" }
test "brew", "cask-tests"
end