language: go

go:
  - 1.14
  - 1.13

install:
  - if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
  - go get github.com/jessevdk/go-flags

script:
  - go get
  - go test -cover ./...
  - cd ./v5
  - go get
  - go test -cover ./...

notifications:
  email: false
