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