spf13--cobra/.travis.yml
umarcor 4fe7dea31c ci: add go 1.13.x
* circleci: export GO111MODULE=on, add 1.13.x, remove 1.11.x
* travis: add go 1.13.x
2020-01-06 19:25:48 +01:00

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