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:
Anton Lindström 2017-03-13 13:10:34 +01:00 committed by GitHub
commit 4f1dbba445
2 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
language: go
go:
- 1.5
- 1.6
- 1.7
- tip
install:

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: