From c4bd95e4ab0bbb4c7297bd2e264a0d7c99388c0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Lindstr=C3=B6m?= Date: Mon, 13 Mar 2017 12:00:54 +0000 Subject: [PATCH] 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. --- .travis.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 828727f..df66c08 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,8 @@ language: go go: - - 1.5 - 1.6 + - 1.7 - tip install: diff --git a/Makefile b/Makefile index f783fd3..2fa41ce 100644 --- a/Makefile +++ b/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: