2019-06-05 22:40:29 +00:00
|
|
|
language: go
|
2019-06-20 05:39:19 +00:00
|
|
|
|
2020-08-26 09:24:43 +00:00
|
|
|
stages:
|
|
|
|
- diff
|
|
|
|
- test
|
|
|
|
- build
|
|
|
|
|
|
|
|
go:
|
|
|
|
- 1.12.x
|
|
|
|
- 1.13.x
|
|
|
|
- tip
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- go get -u github.com/kyoh86/richgo
|
|
|
|
- go get -u github.com/mitchellh/gox
|
|
|
|
|
2019-06-20 05:39:19 +00:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- go: tip
|
2020-08-26 09:24:43 +00:00
|
|
|
include:
|
|
|
|
- stage: diff
|
|
|
|
go: 1.13.x
|
|
|
|
script: make fmt
|
|
|
|
- stage: build
|
|
|
|
go: 1.13.x
|
|
|
|
script: make cobra_generator
|
2019-06-20 05:39:19 +00:00
|
|
|
|
2020-08-26 09:24:43 +00:00
|
|
|
script:
|
|
|
|
- make test
|