2018-05-01 02:37:51 +05:00
|
|
|
sudo: false
|
|
|
|
language: go
|
2021-01-08 11:56:35 +05:00
|
|
|
go:
|
|
|
|
- "1.13.x"
|
2019-10-13 13:55:38 +05:00
|
|
|
script:
|
|
|
|
- go test -v ./...
|
2021-01-08 11:56:35 +05:00
|
|
|
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s v1.22.2
|
2019-10-13 13:55:38 +05:00
|
|
|
- ./bin/golangci-lint run
|
|
|
|
- git clean -fdx .
|
2018-05-01 02:37:51 +05:00
|
|
|
after_success:
|
2019-10-13 13:55:38 +05:00
|
|
|
curl -sL https://git.io/goreleaser | bash && goreleaser
|
2018-05-01 02:37:51 +05:00
|
|
|
|