.travis.yml: run go build -i
@@ -50,8 +50,9 @@ script:
- GIT_CHECK_EXCLUDE="./vendor" TRAVIS_COMMIT_RANGE="${TRAVIS_COMMIT_RANGE/.../..}" make dco
- make fmt
# FIXME: For non-linux GOOS, without running `go build -i`, vet fails with `vet: import failed: can't find import: fmt`...
-# However, running `go build -i` requires root privilege. So let's skip vet for non-linux atm (#1179).
- - if [ "$GOOS" = "linux" ]; then make vet; fi
+# Note that `go build -i` requires write permission to GOROOT. (So it is not called in Makefile)
+ - go build -i .
+ - make vet
- make build
- make binaries
- if [ "$GOOS" = "linux" ]; then sudo make install ; fi
