language: go
go:
  - 1.6
  - 1.7
  - tip
install:
  - go get -t ./...
script: GOMAXPROCS=4 GORACE="halt_on_error=1" go test -race -v ./...

language: go
go:
  - 1.6.x
  - 1.7.x
  - 1.8.x
  - tip
install:
  - go get -t ./...
script: GOMAXPROCS=4 GORACE="halt_on_error=1" go test -race -v ./...

Add Go 1.8 to the testing matrix
Add Go 1.8 to the testing matrix

And use the .x versions, so the latest versions of each Go release is used.
