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.
This commit is contained in:
Dave Collins 2016-11-03 00:04:28 -05:00
parent c180551348
commit fbb49ae349
No known key found for this signature in database
GPG key ID: B8904D9D9C93D1F2

View file

@ -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)