Enable go vet
This commit is contained in:
parent
d2a1dc792f
commit
aa59bb1a41
|
@ -34,7 +34,7 @@ before_script:
|
||||||
script:
|
script:
|
||||||
- test -z "$(go fmt ./...)" # Fail if a .go file hasn't been formatted with gofmt
|
- test -z "$(go fmt ./...)" # Fail if a .go file hasn't been formatted with gofmt
|
||||||
- go test -v -race $PKGS # Run all the tests with the race detector enabled
|
- go test -v -race $PKGS # Run all the tests with the race detector enabled
|
||||||
# - go vet $PKGS # go vet is the official Go static analyzer
|
- go vet $PKGS # go vet is the official Go static analyzer
|
||||||
- megacheck $PKGS # "go vet on steroids" + linter
|
- megacheck $PKGS # "go vet on steroids" + linter
|
||||||
- /bin/bash ci/bintray.sh
|
- /bin/bash ci/bintray.sh
|
||||||
#- golint -set_exit_status $PKGS # one last linter
|
#- golint -set_exit_status $PKGS # one last linter
|
||||||
|
|
Loading…
Reference in New Issue