From 67a550ea40a49215d6dbb0bc5012ed89a971e8c6 Mon Sep 17 00:00:00 2001 From: iwat Date: Fri, 5 May 2017 17:47:02 +0700 Subject: [PATCH] Run go get and go build before metalinter --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a72146b..1bd4bea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,9 +8,11 @@ env: - PATH=$GOPATH/bin:$PATH install: + - go get -t ./... - go get -u gopkg.in/alecthomas/gometalinter.v1 - gometalinter.v1 --install + - go build -i script: - - gometalinter.v1 -e "Subprocess launching with variable.,HIGH,HIGH" ./... + - gometalinter.v1 -e "Subprocess launching with variable" -e "cyclomatic complexity" ./... - go test -v ./...