24 lines
510 B
YAML
24 lines
510 B
YAML
language: go
|
|
|
|
go:
|
|
- 1.x
|
|
- tip
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- go: tip
|
|
fast_finish: true
|
|
|
|
install:
|
|
- go get -t ./...
|
|
- go get golang.org/x/lint/golint
|
|
- go get github.com/alecthomas/gometalinter
|
|
|
|
script:
|
|
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.15.0
|
|
- golangci-lint run --disable-all -E vet -E gofmt -E misspell -E ineffassign -E goimports -E deadcode --tests
|
|
- go test -race ./...
|
|
|
|
after_script:
|
|
- golint ./...
|