travis: exclude go 1.13 for arch arm64

This commit is contained in:
Nicola Murino 2020-05-03 22:46:39 +02:00
parent 7056997e49
commit e9534be1e6
2 changed files with 7 additions and 0 deletions

View file

@ -12,6 +12,12 @@ go:
- 1.13.x - 1.13.x
- 1.14.x - 1.14.x
matrix:
exclude:
- os: linux
arch: arm64
go: 1.13.x
env: env:
- GO111MODULE=on - GO111MODULE=on

View file

@ -1969,6 +1969,7 @@ func getMultipartFormData(values url.Values, fileFieldName, filePath string) (by
if err != nil { if err != nil {
return b, "", err return b, "", err
} }
defer f.Close()
if _, err = io.Copy(fw, f); err != nil { if _, err = io.Copy(fw, f); err != nil {
return b, "", err return b, "", err
} }