Skip to content

Commit 67cc77c

Browse files
committed
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.
1 parent 5752eae commit 67cc77c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ before_cache:
7676
- docker history -q rust-ci |
7777
grep -v missing |
7878
xargs docker save |
79-
gzip -9 > $HOME/docker/rust-ci.tar.gz
79+
gzip > $HOME/docker/rust-ci.tar.gz
8080
before_install:
8181
- zcat $HOME/docker/rust-ci.tar.gz | docker load || true
8282

0 commit comments

Comments
 (0)