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
|
|
|
|
2022-02-13 10:16:30 +03:00
|
|
|
before_script:
|
|
|
|
# Install golangci-lint. 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
|
|
|
|
|
2021-04-15 14:12:32 +03:00
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
dist: xenial
|
|
|
|
script: ./test.sh
|
|
|
|
- os: windows
|
2021-04-18 13:18:36 +03:00
|
|
|
script:
|
|
|
|
- go build
|
2021-09-10 07:54:52 +03:00
|
|
|
- go test -timeout 30s ./...
|