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

29 lines
468 B
YAML
Raw Normal View History

2019-01-18 01:50:10 +00:00
language: go
2019-05-03 10:50:21 +00:00
stages:
- test
- build
2019-05-03 10:50:21 +00:00
go:
- 1.12.x
- 1.13.x
2019-05-03 10:50:21 +00:00
- tip
env: GO111MODULE=on
before_install:
- go get -u github.com/kyoh86/richgo
- go get -u github.com/mitchellh/gox
- curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin latest
2019-01-18 01:50:10 +00:00
matrix:
allow_failures:
- go: tip
2019-05-03 10:50:21 +00:00
include:
- stage: build
go: 1.13.x
script: make cobra_generator
2019-01-18 01:50:10 +00:00
script:
- make test