language: go
matrix:
  include:
  - go: "tip"
  - go: "1.11"
    env: GO111MODULE=on
  - go: "1.11"
  - go: "1.10"
  - go: "1.9"
  - go: "1.8"
  - go: "1.7"
  - go: "1.6"
  - go: "1.5"
  - go: "1.4"
  install:
  - go get -t -v ./...
  - go get github.com/go-playground/overalls
  - go get github.com/mattn/goveralls
  - go get golang.org/x/tools/cmd/cover
  script:
  - go test -v ./...
  - $GOPATH/bin/overalls -project=github.com/mmcdole/gofeed -covermode=count -ignore=.git,vendor -debug
  after_success:
  - $GOPATH/bin/goveralls -coverprofile=overalls.coverprofile -service=travis-ci
