use travis-retry for downloading remote resources

This commit is contained in:
Marten Seemann
2019-08-11 13:37:35 +07:00
parent ee00cbe088
commit 48b5bef8c8
2 changed files with 9 additions and 5 deletions

View File

@@ -2,9 +2,7 @@
set -ex
go get -t ./...
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