.drone.yml 426 B

1234567891011121314151617181920212223242526272829
  1. kind: pipeline
  2. type: docker
  3. name: gopay
  4. platform:
  5. os: linux
  6. arch: amd64
  7. steps:
  8. - name: test
  9. pull: if-not-exists
  10. image: golang:1.13
  11. environment:
  12. GO111MODULE: "on"
  13. GOPROXY: "https://goproxy.cn,direct"
  14. CGO_ENABLED: "0"
  15. GOOS: "linux"
  16. commands:
  17. - go version
  18. - go env
  19. - go test ./...
  20. trigger:
  21. branch:
  22. - master
  23. event:
  24. - push
  25. - pull_request
  26. - tag