2019-03-27 11:15:23 +00:00
|
|
|
sudo: false
|
|
|
|
language: go
|
|
|
|
go:
|
2019-10-31 01:06:25 +00:00
|
|
|
- 1.x
|
|
|
|
- master
|
2019-03-27 11:15:23 +00:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
2019-10-31 01:06:25 +00:00
|
|
|
- go: master
|
2019-03-27 11:15:23 +00:00
|
|
|
fast_finish: true
|
|
|
|
install:
|
|
|
|
- # Do nothing. This is needed to prevent default install action "go get -t -v ./..." from happening here (we want it to happen inside script step).
|
|
|
|
script:
|
|
|
|
- go get -t -v ./...
|
|
|
|
- diff -u <(echo -n) <(gofmt -d -s .)
|
|
|
|
- go tool vet .
|
|
|
|
- go test -v -race ./...
|