.travis.yml 355 B

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