language: go

go:
    - 1.7
    - 1.8
    - 1.x
    - tip

before_install:
  - export PATH=$HOME/gopath/bin:$PATH

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

matrix:
    allow_failures:
        - go: tip

git:
  depth: 10

language: go

go:
    - 1.7.x
    - 1.8.x
    - 1.9.x
    - tip

before_install:
  - export PATH=$HOME/gopath/bin:$PATH

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

matrix:
    allow_failures:
        - go: tip

git:
  depth: 10

Update Travis CI build matrix
Update Travis CI build matrix

- Use the latest version of Go 1.7 and 1.8, not 1.7.0 and 1.8.0
- Explicitly specify Go 1.9.x and test for it
