.drone.yml 632 B

1234567891011121314151617181920212223242526272829303132
  1. clone:
  2. path: github.com/go-openapi/jsonpointer
  3. matrix:
  4. GO_VERSION:
  5. - "1.6"
  6. build:
  7. integration:
  8. image: golang:$$GO_VERSION
  9. pull: true
  10. commands:
  11. - go get -u github.com/stretchr/testify/assert
  12. - go get -u github.com/go-openapi/swag
  13. - go test -race
  14. - go test -v -cover -coverprofile=coverage.out -covermode=count ./...
  15. notify:
  16. slack:
  17. channel: bots
  18. webhook_url: $$SLACK_URL
  19. username: drone
  20. publish:
  21. coverage:
  22. server: https://coverage.vmware.run
  23. token: $$GITHUB_TOKEN
  24. # threshold: 70
  25. # must_increase: true
  26. when:
  27. matrix:
  28. GO_VERSION: "1.6"