You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.drone.yml 363B

123456789101112131415161718192021
  1. ---
  2. kind: pipeline
  3. name: testing
  4. steps:
  5. - name: test
  6. pull: default
  7. image: golang:1.11
  8. commands:
  9. - go get -u golang.org/x/lint/golint
  10. - golint ./...
  11. - go vet
  12. - go test -v -race -coverprofile=coverage.txt -covermode=atomic
  13. environment:
  14. GOPROXY: https://goproxy.cn
  15. GO111MODULE: "on"
  16. when:
  17. event:
  18. - push
  19. - tag
  20. - pull_request