Fix issues with linter and drop 1.5 CI tests

This an issue that the linter `gofmt -s` isn't found and will fail the build.
Also, the CI tests for Go 1.5 is now dropped.
This commit is contained in:
Anton Lindström
2017-03-13 12:00:54 +00:00
parent 49d6d0ff7e
commit c4bd95e4ab
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ check:
.PHONY: metalint
metalint:
which gometalinter > /dev/null || (go get github.com/alecthomas/gometalinter && gometalinter --install --update)
gometalinter --cyclo-over=20 -e "struct field Id should be ID" --enable="gofmt -s" --enable=misspell --fast ./...
gometalinter --cyclo-over=20 -e "struct field Id should be ID" --disable=gas --enable=misspell --fast ./...
.PHONY: fmt
fmt: