.travis.yml 632 B

1234567891011121314151617181920212223242526
  1. sudo: false
  2. language: go
  3. # * github.com/grpc/grpc-go still supports go1.6
  4. # - When we drop support for go1.6 we can remove golang.org/x/net/context
  5. # below as it is part of the Go std library since go1.7
  6. # * github.com/prometheus/client_golang already requires at least go1.7 since
  7. # September 2017
  8. go:
  9. - 1.6.x
  10. - 1.7.x
  11. - 1.8.x
  12. - 1.9.x
  13. - 1.10.x
  14. - master
  15. install:
  16. - go get github.com/prometheus/client_golang/prometheus
  17. - go get google.golang.org/grpc
  18. - go get golang.org/x/net/context
  19. - go get github.com/stretchr/testify
  20. script:
  21. - make test
  22. after_success:
  23. - bash <(curl -s https://codecov.io/bash)