language: go

sudo: false

os:
  - linux
  - osx

go:
  - 1.4
  - 1.5
  - tip

install:
 - go get ./...
 - go get -u github.com/golang/lint/golint
 - go get -u golang.org/x/tools/cmd/goimports

script:
 - go vet ./...
 - diff <(goimports -d .) <(printf "")
 - diff <(golint ./...) <(printf "")
 - go test -v -cpu=2 ./...
 - go test -v -cpu=1,2,4 -short -race ./...
 
language: go

sudo: false

os:
  - linux
  - osx

go:
  - 1.4
  - 1.5

install:
 - go get ./...
 - go get -u github.com/golang/lint/golint
 - go get -u golang.org/x/tools/cmd/goimports

script:
 - go vet ./...
 - diff <(goimports -d .) <(printf "")
 - diff <(golint ./...) <(printf "")
 - go test -v -cpu=2 ./...
 - go test -v -cpu=1,2,4 -short -race ./...
 

Remove tip test. It fails on a "go get", which appears unrelated.
Remove tip test. It fails on a "go get", which appears unrelated.
