aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-01-05 17:00:31 +0000
committerMike McQuaid2016-01-05 17:01:51 +0000
commit6cb900addf21c48550d744e627c45fa9c286e2ba (patch)
tree442c98d7887d3b46c75b75055664861e69073c07 /Library
parent0472b3f34048b7396631d33d4e1cda506ce1a5b1 (diff)
downloadbrew-6cb900addf21c48550d744e627c45fa9c286e2ba.tar.bz2
download_strategy: don't do `tar v` on Travis CI.
The output is too noisy and Travis gets upset.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/download_strategy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index 057deadad..77ec788b9 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