staticcheck no longer runs on Go 1.10 (#92)

* staticcheck no longer runs on Go 1.10, so run it on Go 1.11 in CI
* be explicit about default make target in .travis.yml
This commit is contained in:
Joshua Humphries
2019-03-22 14:35:01 -04:00
committed by GitHub
parent 1bbf8dae71
commit fe97274a1b
3 changed files with 10 additions and 11 deletions

View File

@@ -6,7 +6,7 @@ dev_build_version=$(shell git describe --tags --always --dirty)
# they are just too noisy to be a requirement for a CI -- we don't even *want*
# to fix some of the things they consider to be violations.
.PHONY: ci
ci: deps checkgofmt vet staticcheck unused ineffassign predeclared test
ci: deps checkgofmt vet staticcheck ineffassign predeclared test
.PHONY: deps
deps:
@@ -47,12 +47,7 @@ vet:
.PHONY: staticcheck
staticcheck:
@go get honnef.co/go/tools/cmd/staticcheck
staticcheck -ignore github.com/fullstorydev/grpcurl/tls_settings_test.go:SA1019 ./...
.PHONY: unused
unused:
@go get honnef.co/go/tools/cmd/unused
unused ./...
staticcheck ./...
.PHONY: ineffassign
ineffassign: