2019-06-06 00:40:29 +02:00
|
|
|
language: go
|
2019-06-20 07:39:19 +02:00
|
|
|
|
2020-08-26 11:24:43 +02: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 07:39:19 +02:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- go: tip
|
2020-08-26 11:24:43 +02:00
|
|
|
include:
|
|
|
|
- stage: diff
|
|
|
|
go: 1.13.x
|
|
|
|
script: make fmt
|
|
|
|
- stage: build
|
|
|
|
go: 1.13.x
|
|
|
|
script: make cobra_generator
|
2019-06-20 07:39:19 +02:00
|
|
|
|
2020-08-26 11:24:43 +02:00
|
|
|
script:
|
|
|
|
- make test
|