From 419117c8c23693321fd3981125236b10c41d475e Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Mon, 4 Feb 2019 11:01:43 +0530 Subject: [PATCH] install gometalinter in $GOPATH/bin update gometalinter to stable v3.0.0 Signed-off-by: Madhu Rajanna --- .travis.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 0e5d8aa53..5031b46f2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,8 +9,16 @@ branches: go: 1.11.x +env: + global: + - GO_METALINTER_VERSION="v3.0.0" + install: - - curl -L https://git.io/vp6lP | sh + # install gometalinter + - > + curl -L + 'https://github.com/alecthomas/gometalinter/blob/v3.0.0/scripts/install.sh' + | bash -s -- -b $GOPATH/bin "${GO_METALINTER_VERSION}" before_script: - GO_FILES=$(find . -iname '*.go' -type f | grep -v /vendor/)