qrz/vendor/github.com/spf13/cobra/.travis.yml

29 lines
468 B
YAML
Raw Normal View History

2020-12-26 17:31:13 +01:00
language: go
stages:
- test
- build
go:
- 1.12.x
- 1.13.x
- tip
2021-04-07 11:15:36 +02:00
env: GO111MODULE=on
2020-12-26 17:31:13 +01:00
before_install:
- go get -u github.com/kyoh86/richgo
- go get -u github.com/mitchellh/gox
2021-04-07 11:15:36 +02:00
- curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin latest
2020-12-26 17:31:13 +01:00
matrix:
allow_failures:
- go: tip
include:
- stage: build
go: 1.13.x
script: make cobra_generator
2021-04-07 11:15:36 +02:00
script:
2020-12-26 17:31:13 +01:00
- make test