Merge pull request #25 from antonlindstrom/bugfix/fix-ci-checks
Fix issues with linter and drop 1.5 CI tests
This commit is contained in:
commit
4f1dbba445
|
@ -1,8 +1,8 @@
|
|||
language: go
|
||||
|
||||
go:
|
||||
- 1.5
|
||||
- 1.6
|
||||
- 1.7
|
||||
- tip
|
||||
|
||||
install:
|
||||
|
|
2
Makefile
2
Makefile
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue