Skip to content

Commit

Permalink
Rollup merge of rust-lang#38609 - alexcrichton:less-compress, r=japaric
Browse files Browse the repository at this point in the history
travis: Don't use -9 on gzip

I timed this locally and plain old `gzip` took 2m06s while `gzip -9` took a
whopping 6m23s to save a mere 4MB out of 1.2GB. Let's shave a few minutes off
the Android builder by turning down the compression level.
  • Loading branch information
alexcrichton authored Dec 30, 2016
2 parents fe80a1d + 67cc77c commit a68f886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ before_cache:
- docker history -q rust-ci |
grep -v missing |
xargs docker save |
gzip -9 > $HOME/docker/rust-ci.tar.gz
gzip > $HOME/docker/rust-ci.tar.gz
before_install:
- zcat $HOME/docker/rust-ci.tar.gz | docker load || true

Expand Down

0 comments on commit a68f886

Please sign in to comment.