From 5241d07474586f85f513357a989ecbb74ea69c30 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 13 Nov 2017 10:01:54 +0000 Subject: environment filtering: pass through TRAVIS vars. We use these internally so let's map them to `HOMEBREW_` variables. --- Library/Homebrew/utils/curl.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/utils') diff --git a/Library/Homebrew/utils/curl.rb b/Library/Homebrew/utils/curl.rb index eaa81352c..5becf8203 100644 --- a/Library/Homebrew/utils/curl.rb +++ b/Library/Homebrew/utils/curl.rb @@ -27,7 +27,7 @@ def curl_args(*extra_args, show_output: false, user_agent: :default) args << "--fail" args << "--progress-bar" unless ARGV.verbose? args << "--verbose" if ENV["HOMEBREW_CURL_VERBOSE"] - args << "--silent" if !$stdout.tty? || ENV["TRAVIS"] + args << "--silent" if !$stdout.tty? || ENV["HOMEBREW_TRAVIS"] end args + extra_args -- cgit v1.2.3