Updated github workflows
parent
52a051450d
commit
6eca7f6e5c
20
.travis.yml
20
.travis.yml
|
@ -1,20 +0,0 @@
|
|||
language: go
|
||||
|
||||
go:
|
||||
- "1.14.x"
|
||||
- "1.15.x"
|
||||
- tip
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
- go: tip
|
||||
fast_finish: true
|
||||
|
||||
before_script:
|
||||
- GO_FILES=$(find . -iname '*.go' | grep -v /vendor/)
|
||||
- PKGS=$(go list ./... | grep -v /vendor/)
|
||||
|
||||
script:
|
||||
- test -z $(gofmt -s -l $GO_FILES)
|
||||
- go test -v -race $PKGS
|
||||
- go vet $PKGS
|
Loading…
Reference in New Issue