download_strategy: don't do tar v on Travis CI.

The output is too noisy and Travis gets upset.
This commit is contained in:
Mike McQuaid 2016-01-05 17:00:31 +00:00
parent 0472b3f340
commit 6cb900addf

View File

@ -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