.travis.yml 333 B

12345678910111213141516171819202122232425
  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. os:
  9. - linux
  10. - osx
  11. env:
  12. matrix:
  13. - GOARCH=amd64
  14. - GOARCH=386
  15. script:
  16. - go vet ./...
  17. - go test ./... -v -coverprofile=coverage.txt -covermode=atomic
  18. after_success:
  19. - bash <(curl -s https://codecov.io/bash)