另客网go项目公用的代码库

.travis.yml 617B

123456789101112131415161718192021222324252627282930313233343536
  1. language: go
  2. sudo: false
  3. go:
  4. - 1.6.x
  5. - 1.7.x
  6. - 1.8.x
  7. - 1.9.x
  8. - 1.10.x
  9. - master
  10. git:
  11. depth: 10
  12. install:
  13. - make install
  14. go_import_path: github.com/gin-gonic/gin
  15. script:
  16. - make vet
  17. - make fmt-check
  18. - make embedmd
  19. - make misspell-check
  20. - make test
  21. after_success:
  22. - bash <(curl -s https://codecov.io/bash)
  23. notifications:
  24. webhooks:
  25. urls:
  26. - https://webhooks.gitter.im/e/7f95bf605c4d356372f4
  27. on_success: change # options: [always|never|change] default: always
  28. on_failure: always # options: [always|never|change] default: always
  29. on_start: false # default: false