2019-03-24 18:15:44 +01:00
|
|
|
language: go
|
|
|
|
|
2020-04-08 21:44:10 +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-03-24 18:15:44 +01:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- go: tip
|
2020-04-08 21:44:10 +02:00
|
|
|
include:
|
|
|
|
- stage: diff
|
|
|
|
go: 1.13.x
|
|
|
|
script: make fmt
|
|
|
|
- stage: build
|
|
|
|
go: 1.13.x
|
|
|
|
script: make cobra_generator
|
2019-03-24 18:15:44 +01:00
|
|
|
|
2020-04-08 21:44:10 +02:00
|
|
|
script:
|
|
|
|
- make test
|