Invoke ineffassign during CI

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
Kenfe-Mickael Laventure
2017-08-01 14:42:02 -07:00
parent 9526f5366d
commit 789330033a
2 changed files with 9 additions and 5 deletions

View File

@@ -53,7 +53,9 @@ script:
# FIXME: For non-linux GOOS, without running `go build -i`, vet fails with `vet: import failed: can't find import: fmt`...
# Note that `go build -i` requires write permission to GOROOT. (So it is not called in Makefile)
- go build -i .
- make setup
- make vet
- make ineffassign
- make build
- make binaries
- if [ "$GOOS" = "linux" ]; then sudo make install ; fi