.travis.yml 377 B

12345678910111213141516171819202122232425262728
  1. language: go
  2. sudo: true
  3. dist: bionic
  4. branches:
  5. only:
  6. - main
  7. os:
  8. - linux
  9. - osx
  10. # Travis doesn't work with windows and Go tip
  11. #- windows
  12. go:
  13. - tip
  14. matrix:
  15. allow_failures:
  16. - go: tip
  17. before_install:
  18. - if [ "$TRAVIS_OS_NAME" = "windows" ]; then choco install make; fi
  19. - (cd /tmp/; go get golang.org/x/lint/golint)
  20. script:
  21. - make go test -v ./...;