.drone.yml 873 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. clone:
  2. path: github.com/go-openapi/loads
  3. matrix:
  4. GO_VERSION:
  5. - "1.6"
  6. build:
  7. integration:
  8. image: golang:$$GO_VERSION
  9. pull: true
  10. environment:
  11. GOCOVMODE: "count"
  12. commands:
  13. - go get -u github.com/axw/gocov/gocov
  14. - go get -u gopkg.in/matm/v1/gocov-html
  15. - go get -u github.com/cee-dub/go-junit-report
  16. - go get -u github.com/stretchr/testify/assert
  17. - go get -u gopkg.in/yaml.v2
  18. - go get -u github.com/go-openapi/swag
  19. - go get -u github.com/go-openapi/analysis
  20. - go get -u github.com/go-openapi/spec
  21. - ./hack/build-drone.sh
  22. notify:
  23. slack:
  24. channel: bots
  25. webhook_url: $$SLACK_URL
  26. username: drone
  27. publish:
  28. coverage:
  29. server: https://coverage.vmware.run
  30. token: $$GITHUB_TOKEN
  31. # threshold: 70
  32. # must_increase: true
  33. when:
  34. matrix:
  35. GO_VERSION: "1.6"