language: go

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

before_install:
  - go get github.com/axw/gocov/gocov
  - go get github.com/mattn/goveralls
  - if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi

install:
  - go get -t -v ./...

script:
  - $HOME/gopath/bin/goveralls -service=travis-ci -ignore=examples/*/*

language: go

go:
  - 1.7
  - 1.8
  - 1.9
  - 1.10
  - 1.11
  - 1.12
  - 1.13
  - tip

before_install:
  - go get github.com/axw/gocov/gocov
  - go get github.com/mattn/goveralls
  - if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi

install:
  - go get -t -v ./...

script:
  - $HOME/gopath/bin/goveralls -service=travis-ci -ignore=examples/*/*

Drop support for Go < 1.7
Drop support for Go < 1.7
