From 6cb900addf21c48550d744e627c45fa9c286e2ba Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 5 Jan 2016 17:00:31 +0000 Subject: [PATCH] download_strategy: don't do `tar v` on Travis CI. The output is too noisy and Travis gets upset. --- Library/Homebrew/download_strategy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 057deadad5..77ec788b9b 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -184,7 +184,7 @@ class AbstractFileDownloadStrategy < AbstractDownloadStrategy with_system_path { buffered_write("bunzip2") } when :gzip, :bzip2, :compress, :tar # Assume these are also tarred - tar_flags = ARGV.verbose? ? "xvf" : "xf" + tar_flags = (ARGV.verbose? && ENV["TRAVIS"].nil?) ? "xvf" : "xf" with_system_path { safe_system "tar", tar_flags, cached_location } chdir when :xz