2013-09-24 12:39:05 -04:00
|
|
|
language: go
|
2016-08-20 00:09:46 -07:00
|
|
|
|
2019-03-20 22:21:26 +01:00
|
|
|
stages:
|
|
|
|
- test
|
2020-02-20 12:25:38 -07:00
|
|
|
- build
|
2019-03-20 22:21:26 +01:00
|
|
|
|
|
|
|
go:
|
2021-02-01 15:59:47 -07:00
|
|
|
- 1.14.x
|
|
|
|
- 1.15.x
|
2019-03-20 22:21:26 +01:00
|
|
|
- tip
|
|
|
|
|
2021-02-08 00:08:50 +00:00
|
|
|
env: GO111MODULE=on
|
|
|
|
|
2020-02-20 12:25:38 -07: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 12:25:38 -07:00
|
|
|
|
2016-08-20 00:09:46 -07:00
|
|
|
matrix:
|
2016-05-09 11:37:22 +02:00
|
|
|
allow_failures:
|
|
|
|
- go: tip
|
2019-03-20 22:21:26 +01:00
|
|
|
include:
|
2020-02-20 12:25:38 -07:00
|
|
|
- stage: build
|
2021-02-01 15:59:47 -07:00
|
|
|
go: 1.14.x
|
2020-02-20 12:25:38 -07:00
|
|
|
script: make cobra_generator
|
2019-09-17 04:08:40 +02:00
|
|
|
|
2021-02-08 00:08:50 +00:00
|
|
|
script:
|
2020-02-20 12:25:38 -07:00
|
|
|
- make test
|