2019-03-27 12:15:23 +01:00
|
|
|
sudo: false
|
|
|
|
language: go
|
|
|
|
go:
|
2019-10-31 02:06:25 +01:00
|
|
|
- "1.10.x"
|
|
|
|
- "1.11.x"
|
2019-03-27 12:15:23 +01:00
|
|
|
- tip
|
|
|
|
matrix:
|
2019-10-31 02:06:25 +01:00
|
|
|
fast_finish: true
|
2019-03-27 12:15:23 +01:00
|
|
|
allow_failures:
|
|
|
|
- go: tip
|
|
|
|
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 .
|
2019-10-31 02:06:25 +01:00
|
|
|
- go test -v ./...
|