language: go
sudo: false
services:
  - redis-server

go:
  - 1.4
  - 1.5
  - 1.6
  - tip

script:
  - go get -t -v ./...
  - diff -u <(echo -n) <(gofmt -d .)
  - go vet $(go list ./... | grep -v /vendor/)
  - go test -v -race ./...

language: go
sudo: false
services:
  - redis-server

go:
  - 1.4
  - 1.5
  - 1.6
  - 1.7
  - tip

script:
  - go get -t -v ./...
  - diff -u <(echo -n) <(gofmt -d .)
  - go vet $(go list ./... | grep -v /vendor/)
  - go test -v -race ./...

Add Go 1.7 to Travis config
Add Go 1.7 to Travis config