.travis.yml 378 B

12345678910111213141516171819202122232425
  1. language: go
  2. install:
  3. - go get -d -t -v ./... && go build -v ./...
  4. go:
  5. - 1.15.x
  6. - 1.16.x
  7. os:
  8. - linux
  9. - osx
  10. - windows
  11. env:
  12. jobs:
  13. - GOARCH=amd64
  14. - GOARCH=386
  15. script:
  16. - env GO111MODULE=on go vet ./...
  17. - env GO111MODULE=on go test -v -race ./... -coverprofile=coverage.txt -covermode=atomic
  18. after_success:
  19. - bash <(curl -s https://codecov.io/bash)