.travis.yml 708 B

1234567891011121314151617181920212223242526272829
  1. sudo: false
  2. language: go
  3. go:
  4. - "1.10.x"
  5. - "1.11.x"
  6. - "1.12.x"
  7. script:
  8. - go get golang.org/x/tools/cmd/cover
  9. - go get github.com/mattn/goveralls
  10. - go get github.com/kisielk/errcheck
  11. - go get -u github.com/FiloSottile/gvt
  12. - gvt restore
  13. - go test -race -v $(go list ./... | grep -v vendor/)
  14. - go vet $(go list ./... | grep -v vendor/)
  15. - go test ./test -v -indexType scorch
  16. - if [[ ${TRAVIS_GO_VERSION} =~ ^1\.10 ]]; then
  17. echo "errcheck skipped for go version" $TRAVIS_GO_VERSION;
  18. else
  19. errcheck -ignorepkg fmt $(go list ./... | grep -v vendor/);
  20. fi
  21. - docs/project-code-coverage.sh
  22. - docs/build_children.sh
  23. notifications:
  24. email:
  25. - marty.schoch@gmail.com