2015-09-26 15:29:24 +00:00
|
|
|
sudo: false
|
|
|
|
|
2015-03-19 02:04:29 +00:00
|
|
|
language: go
|
2015-09-26 15:29:24 +00:00
|
|
|
go:
|
2016-01-21 03:19:15 +00:00
|
|
|
- 1.5.3
|
|
|
|
- tip
|
|
|
|
|
|
|
|
env:
|
|
|
|
- GO15VENDOREXPERIMENT=1
|
2015-09-26 15:29:24 +00:00
|
|
|
|
|
|
|
install:
|
2016-01-21 03:19:15 +00:00
|
|
|
- go get golang.org/x/tools/cmd/vet
|
2015-03-19 02:04:29 +00:00
|
|
|
|
|
|
|
script:
|
2016-01-21 03:19:15 +00:00
|
|
|
- "! gofmt -l $(find . -path ./vendor -prune -o -name '*.go' -print) | read nothing"
|
|
|
|
- go vet
|
|
|
|
- go test -v $(go list ./... | grep -v /vendor/)
|
|
|
|
- go build
|
|
|
|
- ./end-to-end-test.sh
|