run staticcheck in gometalinter

This commit is contained in:
Marten Seemann
2018-02-21 22:52:36 +08:00
parent b6470311ea
commit 286a51bcc0
6 changed files with 5 additions and 19 deletions

View File

@@ -6,7 +6,7 @@ go get -t ./...
if [ ${TESTMODE} == "lint" ]; then
go get github.com/alecthomas/gometalinter
gometalinter --install
gometalinter --tests ./...
gometalinter --deadline=90s --tests ./...
fi
if [ ${TESTMODE} == "unit" ]; then