From 572ae0b6fd8649e8c977bf23283f20b8beb607ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Di=C3=B3genes=20Falc=C3=A3o?= Date: Thu, 20 Sep 2018 14:21:59 -0300 Subject: [PATCH] [travis] Run test suite against 386 arch (#920) --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index b9ef77c4a..73c8571c3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,5 +22,6 @@ script: - if [ -n "$(gofmt -s -l $GO_FILES)" ]; then echo "gofmt the following files:"; gofmt -s -l $GO_FILES; exit 1; fi - go vet ./... - go test -v -race $PKGS # Run all the tests with the race detector enabled + - GOARCH=386 go test -v $PKGS # Run all tests against a 386 architecture - 'if [[ $TRAVIS_GO_VERSION = 1.8* ]]; then ! golint ./... | grep -vE "(_mock|_string|\.pb)\.go:"; fi' - go run internal/check/version.go