2019-06-15 10:12:06 +03:00
|
|
|
language: go
|
|
|
|
go:
|
2021-04-22 20:17:58 +03:00
|
|
|
- 1.16.x
|
2019-06-15 10:12:06 +03:00
|
|
|
|
2021-04-15 14:12:32 +03:00
|
|
|
jobs:
|
|
|
|
include:
|
2022-02-13 10:39:05 +03:00
|
|
|
- os: linux
|
|
|
|
dist: xenial
|
|
|
|
script:
|
|
|
|
# golangci-lint is required by test.sh. Latest version here if you want
|
|
|
|
# to bump it, version number is at the end of the "curl | sh"
|
|
|
|
# commandline below:
|
|
|
|
# https://github.com/golangci/golangci-lint/releases/latest
|
|
|
|
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.44.0
|
|
|
|
|
|
|
|
- ./test.sh
|
|
|
|
|
|
|
|
- os: windows
|
|
|
|
script:
|
|
|
|
- go build
|
|
|
|
- go test -timeout 30s ./...
|