2017-09-13 12:09:48 +00:00
|
|
|
sudo: false
|
2017-08-05 09:08:33 +00:00
|
|
|
language: go
|
|
|
|
go:
|
2019-01-27 20:07:57 +00:00
|
|
|
- "1.9.x"
|
|
|
|
- "1.10.x"
|
2017-09-13 12:09:48 +00:00
|
|
|
- tip
|
|
|
|
matrix:
|
2019-01-27 20:07:57 +00:00
|
|
|
fast_finish: true
|
2017-09-13 12:09:48 +00:00
|
|
|
allow_failures:
|
|
|
|
- go: tip
|
2017-08-05 09:08:33 +00:00
|
|
|
install:
|
2017-09-13 12:09:48 +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).
|
2017-08-05 09:08:33 +00:00
|
|
|
script:
|
2017-09-13 12:09:48 +00:00
|
|
|
- go get -t -v ./...
|
|
|
|
- diff -u <(echo -n) <(gofmt -d -s .)
|
|
|
|
- go tool vet .
|
|
|
|
- go test -v -race ./...
|