mirror of
https://github.com/spf13/cobra
synced 2025-05-07 22:07:23 +00:00
25 lines
457 B
YAML
25 lines
457 B
YAML
language: go
|
|
|
|
stages:
|
|
- lint
|
|
- test
|
|
|
|
go:
|
|
- 1.12.x
|
|
- 1.13.x
|
|
- tip
|
|
|
|
env: GO111MODULE=on
|
|
before_install: go get -u github.com/kyoh86/richgo
|
|
script:
|
|
- richgo test -v ./...
|
|
- go build
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- go: tip
|
|
include:
|
|
- stage: lint
|
|
go: 1.13.x
|
|
before_install: curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin latest
|
|
script: golangci-lint run -v
|