2018-10-08 13:17:05 +02:00
|
|
|
language: go
|
2018-12-11 14:39:34 +01:00
|
|
|
dist: xenial
|
2018-10-08 13:17:05 +02:00
|
|
|
|
|
|
|
go:
|
2020-04-12 16:54:49 -04:00
|
|
|
- "1.14.x"
|
2018-10-08 13:17:05 +02:00
|
|
|
|
|
|
|
env:
|
2019-11-22 14:35:01 +01:00
|
|
|
- GO111MODULE=on GOLANGCI_RELEASE="v1.21.0"
|
2018-10-08 13:17:05 +02:00
|
|
|
|
2018-11-14 11:02:53 +01:00
|
|
|
before_install:
|
2019-10-08 16:20:47 +02:00
|
|
|
- GO111MODULE=off go get github.com/mattn/goveralls
|
|
|
|
- GO111MODULE=off go get github.com/lawrencewoodman/roveralls
|
2019-04-27 15:35:08 +02:00
|
|
|
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_RELEASE}
|
2018-11-14 11:02:53 +01:00
|
|
|
|
2018-10-08 13:17:05 +02:00
|
|
|
script:
|
|
|
|
- make test
|
|
|
|
- make build.docker
|
2019-11-25 10:55:38 +01:00
|
|
|
- make check
|
2018-11-14 11:02:53 +01:00
|
|
|
- roveralls
|
|
|
|
- goveralls -v -coverprofile=roveralls.coverprofile -service=travis-ci
|