language: go
go:
    - 1.5
    - 1.6
    - tip

matrix:
    fast_finish: true

before_install:
    - go get golang.org/x/tools/cmd/cover
    - go get github.com/golang/lint/golint
    - go get github.com/mattn/goveralls

script:
    - make vet lint generate test
    - goveralls -coverprofile=coverage.out -service travis-ci -repotoken $COVERALLS_TOKEN

language: go
go:
    - 1.5
    - 1.6
    - 1.7
    - tip

matrix:
    fast_finish: true

before_install:
    - go get golang.org/x/tools/cmd/cover
    - go get github.com/golang/lint/golint
    - go get github.com/mattn/goveralls

script:
    - make vet lint generate test
    - goveralls -coverprofile=coverage.out -service travis-ci -repotoken $COVERALLS_TOKEN

Enable Go 1.7 in TravisCI
Enable Go 1.7 in TravisCI