2017-09-30 14:27:27 +00:00
|
|
|
sudo: false
|
2016-10-31 15:50:02 +00:00
|
|
|
language: go
|
|
|
|
go:
|
2020-02-25 14:20:57 +00:00
|
|
|
- 1.x
|
|
|
|
- master
|
2017-09-30 14:27:27 +00:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
2020-02-25 14:20:57 +00:00
|
|
|
- go: master
|
|
|
|
fast_finish: true
|
2016-10-31 15:50:02 +00:00
|
|
|
install:
|
2017-09-30 14:27:27 +00:00
|
|
|
- # 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).
|
2016-10-31 15:50:02 +00:00
|
|
|
script:
|
2017-09-30 14:27:27 +00:00
|
|
|
- go get -t -v ./...
|
|
|
|
- diff -u <(echo -n) <(gofmt -d -s .)
|
|
|
|
- go tool vet .
|
|
|
|
- go test -v -race ./...
|