.travis.yml 344 B

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