logrus/travis/install.sh

9 lines
228 B
Bash
Raw Normal View History

#!/bin/bash
set -e
2020-11-06 15:26:15 +03:00
# Install golanci 1.32.2
if [[ "$TRAVIS_GO_VERSION" =~ ^1\.15\. ]]; then
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.32.2
2019-10-25 15:49:48 +03:00
fi