2017-02-17 17:49:51 +01:00
|
|
|
sudo: false
|
2016-10-31 16:50:02 +01:00
|
|
|
language: go
|
|
|
|
go:
|
2017-07-23 09:51:42 +02:00
|
|
|
- 1.x
|
|
|
|
- master
|
2017-02-17 17:49:51 +01:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
2017-07-23 09:51:42 +02:00
|
|
|
- go: master
|
2017-02-17 17:49:51 +01:00
|
|
|
fast_finish: true
|
2016-10-31 16:50:02 +01:00
|
|
|
install:
|
2017-02-17 17:49:51 +01: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 16:50:02 +01:00
|
|
|
script:
|
|
|
|
- go get -t -v ./...
|
|
|
|
- diff -u <(echo -n) <(gofmt -d -s .)
|
|
|
|
- go tool vet .
|
|
|
|
- go test -v -race ./...
|