test-bot: optionally disable verbose install.
This commit is contained in:
parent
359cdafb86
commit
e34033310a
@ -18,6 +18,7 @@
|
|||||||
# --dry-run: Just print commands, don't run them.
|
# --dry-run: Just print commands, don't run them.
|
||||||
# --fail-fast: Immediately exit on a failing step.
|
# --fail-fast: Immediately exit on a failing step.
|
||||||
# --verbose: Print out all logs in realtime
|
# --verbose: Print out all logs in realtime
|
||||||
|
# --no-verbose-install: Don't run `brew install` with `--verbose`.
|
||||||
#
|
#
|
||||||
# --ci-master: Shortcut for Homebrew master branch CI options.
|
# --ci-master: Shortcut for Homebrew master branch CI options.
|
||||||
# --ci-pr: Shortcut for Homebrew pull request CI options.
|
# --ci-pr: Shortcut for Homebrew pull request CI options.
|
||||||
@ -531,7 +532,8 @@ module Homebrew
|
|||||||
formula_fetch_options << canonical_formula_name
|
formula_fetch_options << canonical_formula_name
|
||||||
test "brew", "fetch", "--retry", *formula_fetch_options
|
test "brew", "fetch", "--retry", *formula_fetch_options
|
||||||
test "brew", "uninstall", "--force", canonical_formula_name if formula.installed?
|
test "brew", "uninstall", "--force", canonical_formula_name if formula.installed?
|
||||||
install_args = %w[--verbose]
|
install_args = []
|
||||||
|
install_args << "--verbose" unless ARGV.include? "--no-verbose-install"
|
||||||
install_args << "--build-bottle" unless ARGV.include? "--no-bottle"
|
install_args << "--build-bottle" unless ARGV.include? "--no-bottle"
|
||||||
install_args << "--HEAD" if ARGV.include? "--HEAD"
|
install_args << "--HEAD" if ARGV.include? "--HEAD"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user