language: go

go:
  - 1.7

cache:
  directories:
    - $GOPATH/src
    - $GOPATH/pkg

script: go test -v -race ./...
language: go

go:
  - 1.8

cache:
  directories:
    - $GOPATH/src
    - $GOPATH/pkg

script: go test -v -race ./...

Update Travis to use go 1.8
Update Travis to use go 1.8