2013-09-24 16:39:05 +00:00
|
|
|
language: go
|
2016-08-20 07:09:46 +00:00
|
|
|
|
2019-03-20 21:21:26 +00:00
|
|
|
stages:
|
|
|
|
- test
|
2020-02-20 19:25:38 +00:00
|
|
|
- build
|
2019-03-20 21:21:26 +00:00
|
|
|
|
|
|
|
go:
|
2021-02-01 22:59:47 +00:00
|
|
|
- 1.14.x
|
|
|
|
- 1.15.x
|
2019-03-20 21:21:26 +00:00
|
|
|
- tip
|
|
|
|
|
2021-02-08 00:08:50 +00:00
|
|
|
env: GO111MODULE=on
|
|
|
|
|
2020-02-20 19:25:38 +00:00
|
|
|
before_install:
|
|
|
|
- go get -u github.com/kyoh86/richgo
|
|
|
|
- go get -u github.com/mitchellh/gox
|
2021-02-08 00:08:50 +00:00
|
|
|
- curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin latest
|
2020-02-20 19:25:38 +00:00
|
|
|
|
2016-08-20 07:09:46 +00:00
|
|
|
matrix:
|
2016-05-09 09:37:22 +00:00
|
|
|
allow_failures:
|
|
|
|
- go: tip
|
2019-03-20 21:21:26 +00:00
|
|
|
include:
|
2020-02-20 19:25:38 +00:00
|
|
|
- stage: build
|
2021-02-01 22:59:47 +00:00
|
|
|
go: 1.14.x
|
2020-02-20 19:25:38 +00:00
|
|
|
script: make cobra_generator
|
2019-09-17 02:08:40 +00:00
|
|
|
|
2021-02-08 00:08:50 +00:00
|
|
|
script:
|
2020-02-20 19:25:38 +00:00
|
|
|
- make test
|