test: Use stable version of gometalinter

Hopefully this prevents the various breakages seen in our lint test.
This commit is contained in:
James Shubin
2017-09-26 18:48:27 -04:00
parent 9fbf149717
commit b3ef4e41bf

View File

@@ -80,5 +80,5 @@ if [[ $ret != 0 ]]; then
fi fi
go get golang.org/x/tools/cmd/stringer # for automatic stringer-ing go get golang.org/x/tools/cmd/stringer # for automatic stringer-ing
go get github.com/golang/lint/golint # for `golint`-ing go get github.com/golang/lint/golint # for `golint`-ing
go get github.com/alecthomas/gometalinter && gometalinter --install # bonus go get -u gopkg.in/alecthomas/gometalinter.v1 && mv "$(dirname $(which gometalinter.v1))/gometalinter.v1" "$(dirname $(which gometalinter.v1))/gometalinter" && gometalinter --install # bonus
cd "$XPWD" >/dev/null cd "$XPWD" >/dev/null