Skip to content

Commit 968da0b

Browse files
authored
retry downloading dependencies (#178)
retry downloading dependencies ### Test Plan * CI ### References * https://docs.travis-ci.com/user/common-build-problems/#timeouts-installing-dependencies
1 parent b770f3d commit 968da0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ dist: trusty
66
cache: pip
77
install:
88
# terraform
9-
- wget -t 10 -O terraform.zip https://releases.hashicorp.com/terraform/0.12.19/terraform_0.12.19_linux_amd64.zip
9+
- travis_retry wget -t 10 -O terraform.zip https://releases.hashicorp.com/terraform/0.12.19/terraform_0.12.19_linux_amd64.zip
1010
- unzip terraform.zip
1111
- mv terraform ~/bin/
1212
- chmod +x ~/bin/terraform
1313
# terraform-provider-bless
14-
- wget -t 10 -O terraform-provider-bless.tar https://github.com/chanzuckerberg/terraform-provider-bless/releases/download/v0.2.10/terraform-provider-bless_0.2.10_linux_amd64.tar.gz
14+
- travis_retry wget -t 10 -O terraform-provider-bless.tar https://github.com/chanzuckerberg/terraform-provider-bless/releases/download/v0.2.10/terraform-provider-bless_0.2.10_linux_amd64.tar.gz
1515
- tar -C ~/bin -xzf terraform-provider-bless.tar
1616
# terraform-docs
1717
# - wget -t 10 -O terraform-docs https://github.com/segmentio/terraform-docs/releases/download/v0.6.0/terraform-docs-v0.6.0-linux-amd64

0 commit comments

Comments
 (0)