diff options
| author | Mike McQuaid | 2015-11-01 00:08:40 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2015-11-01 00:18:51 -0700 |
| commit | 68896d14aaededbcf0b61b76b85684fce51bb165 (patch) | |
| tree | f3fac0dcbd17a15f0f1012df49685b564d57b570 | |
| parent | 18b2d0150e039a13437cc27eeeada8c529fa0d18 (diff) | |
| download | brew-68896d14aaededbcf0b61b76b85684fce51bb165.tar.bz2 | |
download_strategy: silence curl on Travis CI.
Use one of the Travis CI default environment variables:
http://docs.travis-ci.com/user/environment-variables/#Default-Environment-Variables
Closes Homebrew/homebrew#44446.
Closes https://github.com/travis-ci/travis-ci/issues/4936.
Closes Homebrew/homebrew#45561.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
| -rw-r--r-- | Library/Homebrew/utils.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index 54ed31a38..f50239a14 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -251,7 +251,7 @@ def curl(*args) args = [flags, HOMEBREW_USER_AGENT, *args] args << "--verbose" if ENV["HOMEBREW_CURL_VERBOSE"] - args << "--silent" unless $stdout.tty? + args << "--silent" if !$stdout.tty? || ENV["TRAVIS"] safe_system curl, *args end |
