From fbb49ae349255b1f5bcdc1708da3bdebfb410686 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Thu, 3 Nov 2016 00:04:28 -0500 Subject: [PATCH] build: Add unconvert linter to goclean.sh. This modifies the goclean.sh script to include the unconvert lint tool in the gometalinter configuration. It also bumps the deadline to 45 seconds to give slower TravisCI build servers more breathing room. --- goclean.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/goclean.sh b/goclean.sh index dd3f866d..fe88a47c 100755 --- a/goclean.sh +++ b/goclean.sh @@ -17,6 +17,7 @@ test -z "$(gometalinter --disable-all \ --enable=golint \ --enable=vet \ --enable=gosimple \ +--enable=unconvert \ --deadline=20s $(glide novendor) | grep -v 'ALL_CAPS\|OP_' 2>&1 | tee /dev/stderr)" env GORACE="halt_on_error=1" go test -v -race -tags rpctest $(glide novendor)