forked from quic-go/quic-go
use GolangCI-Lint instead of gometalinter
This commit is contained in:
@@ -3,10 +3,9 @@
|
||||
set -ex
|
||||
|
||||
go get -t ./...
|
||||
if [ ${TESTMODE} == "lint" ]; then
|
||||
go get github.com/alecthomas/gometalinter
|
||||
gometalinter --install
|
||||
gometalinter --deadline=300s --tests ./...
|
||||
if [ ${TESTMODE} == "lint" ]; then
|
||||
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.15.0
|
||||
./bin/golangci-lint run ./...
|
||||
fi
|
||||
|
||||
if [ ${TESTMODE} == "unit" ]; then
|
||||
|
||||
Reference in New Issue
Block a user