25 lines
288 B
YAML
25 lines
288 B
YAML
language: go
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
go:
|
|
- 1.13.x
|
|
- 1.14.x
|
|
- 1.15.x
|
|
- master
|
|
|
|
env:
|
|
- GO111MODULE=off
|
|
|
|
script:
|
|
- diff <(gofmt -d .) <(printf "")
|
|
- go test -v -cpu=1,2,4 .
|
|
- go test -v -cpu=2 -race -short .
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- go: 'master'
|
|
fast_finish: true
|