Browse Source

travis: exclude go 1.13 for arch arm64

Nicola Murino 5 years ago
parent
commit
e9534be1e6
2 changed files with 7 additions and 0 deletions
  1. 6 0
      .travis.yml
  2. 1 0
      httpd/httpd_test.go

+ 6 - 0
.travis.yml

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

+ 1 - 0
httpd/httpd_test.go

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