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 432B

123456789101112131415161718192021222324
  1. kind: pipeline
  2. name: go1-1-1
  3. steps:
  4. - name: test
  5. image: golang:1.11
  6. environment:
  7. GOPROXY: https://goproxy.cn
  8. commands:
  9. - go build -v
  10. - go test -v -race -coverprofile=coverage.txt -covermode=atomic
  11. ---
  12. kind: pipeline
  13. name: go1-1-2
  14. steps:
  15. - name: test
  16. image: golang:1.12
  17. environment:
  18. GOPROXY: https://goproxy.cn
  19. commands:
  20. - go build -v
  21. - go test -v -race -coverprofile=coverage.txt -covermode=atomic