download_strategy: don't do tar v on Travis CI.
The output is too noisy and Travis gets upset.
This commit is contained in:
parent
0472b3f340
commit
6cb900addf
@ -184,7 +184,7 @@ class AbstractFileDownloadStrategy < AbstractDownloadStrategy
|
|||||||
with_system_path { buffered_write("bunzip2") }
|
with_system_path { buffered_write("bunzip2") }
|
||||||
when :gzip, :bzip2, :compress, :tar
|
when :gzip, :bzip2, :compress, :tar
|
||||||
# Assume these are also tarred
|
# 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 }
|
with_system_path { safe_system "tar", tar_flags, cached_location }
|
||||||
chdir
|
chdir
|
||||||
when :xz
|
when :xz
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user