Jelajahi Sumber

32 bit travis test

Jonathan Turner 8 tahun lalu
induk
melakukan
ab39afeefb
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      .travis.yml

+ 2 - 1
.travis.yml

@@ -37,9 +37,10 @@ env:
 
 script:
   - test -z $(gofmt -s -l $GO_FILES)         # Fail if a .go file hasn't been formatted with gofmt
-  - go test -v -race -tags=integration ./... # Run all the tests with the race detector enabled and integration tests
   - go vet ./...                             # go vet is the official Go static analyzer
   #- golint -set_exit_status $(go list ./...) # golint to be added
+  - go test -v -race -tags=integration ./... # Run all the tests with the race detector enabled and integration tests
+  - GOARCH=386 go test -v -race -tags=integration ./... # 32bit tests
 
 addons:
   hosts: