2018-08-31 01:07:13 +00:00
|
|
|
language: go
|
|
|
|
|
2019-06-09 00:01:48 +00:00
|
|
|
stages:
|
|
|
|
- diff
|
|
|
|
- test
|
2020-04-22 23:06:36 +00:00
|
|
|
- build
|
2019-06-09 00:01:48 +00:00
|
|
|
|
|
|
|
go:
|
|
|
|
- 1.12.x
|
2020-04-22 23:06:36 +00:00
|
|
|
- 1.13.x
|
2019-06-09 00:01:48 +00:00
|
|
|
- tip
|
|
|
|
|
2020-04-22 23:06:36 +00:00
|
|
|
before_install:
|
|
|
|
- go get -u github.com/kyoh86/richgo
|
|
|
|
- go get -u github.com/mitchellh/gox
|
|
|
|
|
2018-08-31 01:07:13 +00:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- go: tip
|
2019-06-09 00:01:48 +00:00
|
|
|
include:
|
|
|
|
- stage: diff
|
2020-04-22 23:06:36 +00:00
|
|
|
go: 1.13.x
|
|
|
|
script: make fmt
|
|
|
|
- stage: build
|
|
|
|
go: 1.13.x
|
|
|
|
script: make cobra_generator
|
2018-08-31 01:07:13 +00:00
|
|
|
|
2020-04-22 23:06:36 +00:00
|
|
|
script:
|
|
|
|
- make test
|