2019-03-27 16:45:23 +05:30
|
|
|
sudo: false
|
|
|
|
language: go
|
|
|
|
go:
|
2019-10-31 06:36:25 +05:30
|
|
|
- "1.10.x"
|
|
|
|
- "1.11.x"
|
2019-03-27 16:45:23 +05:30
|
|
|
- tip
|
|
|
|
matrix:
|
2019-10-31 06:36:25 +05:30
|
|
|
fast_finish: true
|
2019-03-27 16:45:23 +05:30
|
|
|
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 06:36:25 +05:30
|
|
|
- go test -v ./...
|