.travis.yml 557 B

123456789101112131415161718192021222324252627
  1. language: go
  2. sudo: false
  3. go:
  4. - 1.6.4
  5. - 1.7.4
  6. - tip
  7. git:
  8. depth: 3
  9. install:
  10. - go get -v github.com/kardianos/govendor
  11. - govendor sync
  12. script:
  13. - go test -v -covermode=count -coverprofile=coverage.out
  14. after_success:
  15. - bash <(curl -s https://codecov.io/bash)
  16. notifications:
  17. webhooks:
  18. urls:
  19. - https://webhooks.gitter.im/e/7f95bf605c4d356372f4
  20. on_success: change # options: [always|never|change] default: always
  21. on_failure: always # options: [always|never|change] default: always
  22. on_start: false # default: false