language: go
sudo: false

os:
  - linux

# - osx

go:
  - 1.3.3
  - 1.4.3
  - 1.5.1
  - 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 ./...
  - go test -cpu=2 -race -v ./...

language: go
sudo: false

os:
  - linux

# - osx

go:
  - 1.3.3
  - 1.4.2
  - 1.5.1
  - 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 ./...
  - go test -cpu=2 -race -v ./...

Drop back to testing with go 1.4.2 as it includes go vet
Drop back to testing with go 1.4.2 as it includes go vet
