forked from TrueCloudLab/distribution
81ba770eff
- Modify Travis manifest to use Go 1.14.x - Hardcode version of golangci-lint in setup script - Hardcode version of go-md2man in setup script Signed-off-by: jdolitsky <393494+jdolitsky@users.noreply.github.com>
17 lines
407 B
Bash
Executable file
17 lines
407 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
GOLANGCI_LINT_VERSION="v1.27.0"
|
|
GO_MD2MAN_VERSION="v1.0.10"
|
|
|
|
#
|
|
# Install developer tools to $GOBIN (or $GOPATH/bin if unset)
|
|
#
|
|
set -eu -o pipefail
|
|
|
|
# Enable Go modules
|
|
export GO111MODULE=on
|
|
|
|
# prevent updating go.mod of the project
|
|
cd /tmp
|
|
go get "github.com/golangci/golangci-lint/cmd/golangci-lint@${GOLANGCI_LINT_VERSION}"
|
|
go get "github.com/cpuguy83/go-md2man@${GO_MD2MAN_VERSION}"
|