Skip to content

Commit

Permalink
Enable builds with go1.11
Browse files Browse the repository at this point in the history
Since gofmt changed in go1.11 its not possible to run
builds for 1.8 and 1.9 anymore, removing them.
  • Loading branch information
harshavardhana committed Dec 29, 2018
1 parent c085651 commit 3d9b3d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Expand Up @@ -9,9 +9,7 @@ env:
- ARCH=i686

go:
- 1.7.4
- 1.8.x
- 1.9.x
- 1.11.x
- tip

matrix:
Expand Down
2 changes: 1 addition & 1 deletion retry.go
Expand Up @@ -139,7 +139,7 @@ func isS3CodeRetryable(s3Code string) (ok bool) {

// List of HTTP status codes which are retryable.
var retryableHTTPStatusCodes = map[int]struct{}{
429: {}, // http.StatusTooManyRequests is not part of the Go 1.5 library, yet
429: {}, // http.StatusTooManyRequests is not part of the Go 1.5 library, yet
http.StatusInternalServerError: {},
http.StatusBadGateway: {},
http.StatusServiceUnavailable: {},
Expand Down

0 comments on commit 3d9b3d6

Please sign in to comment.