.travis.yml: run go build -i
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
This commit is contained in:
parent
f72e97dbf8
commit
7822819f32
@ -50,8 +50,9 @@ script:
|
|||||||
- GIT_CHECK_EXCLUDE="./vendor" TRAVIS_COMMIT_RANGE="${TRAVIS_COMMIT_RANGE/.../..}" make dco
|
- GIT_CHECK_EXCLUDE="./vendor" TRAVIS_COMMIT_RANGE="${TRAVIS_COMMIT_RANGE/.../..}" make dco
|
||||||
- make fmt
|
- make fmt
|
||||||
# FIXME: For non-linux GOOS, without running `go build -i`, vet fails with `vet: import failed: can't find import: 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).
|
# Note that `go build -i` requires write permission to GOROOT. (So it is not called in Makefile)
|
||||||
- if [ "$GOOS" = "linux" ]; then make vet; fi
|
- go build -i .
|
||||||
|
- make vet
|
||||||
- make build
|
- make build
|
||||||
- make binaries
|
- make binaries
|
||||||
- if [ "$GOOS" = "linux" ]; then sudo make install ; fi
|
- if [ "$GOOS" = "linux" ]; then sudo make install ; fi
|
||||||
|
Loading…
Reference in New Issue
Block a user