sudo: false

language: go

go:
 - "1.12.x"
 - "1.13.x"
 - "1.14.x"

script:
  - go get golang.org/x/tools/cmd/cover
  - go get github.com/mattn/goveralls
  - go get github.com/kisielk/errcheck
  - go get -u github.com/FiloSottile/gvt
  - gvt restore
  - go test -race -v $(go list ./... | grep -v vendor/)
  - go vet $(go list ./... | grep -v vendor/)
  - go test ./test -v -indexType scorch
  - errcheck -ignorepkg fmt $(go list ./... | grep -v vendor/);
  - docs/project-code-coverage.sh
  - docs/build_children.sh

notifications:
  email:
    - marty.schoch@gmail.com