Retry the builds when downloads fail

This commit is contained in:
Andrew Morgan 2019-05-29 17:22:46 +01:00
parent 60fff8619a
commit c5cf9386ce

View file

@ -5,6 +5,10 @@ steps:
plugins:
- docker#v3.0.1:
image: "golang:1.11"
retry:
automatic:
- exit_status: 128
limit: 3
- command:
- "go build ./cmd/..."
@ -12,6 +16,10 @@ steps:
plugins:
- docker#v3.0.1:
image: "golang:1.12"
retry:
automatic:
- exit_status: 128
limit: 3
- command:
- "go test ./..."