language: go
go:
  - 1.7
  - 1.8
install: go get -v ./
script:
    - go test -v ./...

language: go
go:
  - 1.7
  - 1.8
  - 1.9
install: go get -v ./
script:
    - go test -v -race ./...

Add Go 1.9. Use race detector
CI: Add Go 1.9. Use race detector
