Jerry %!s(int64=6) %!d(string=hai) anos
pai
achega
b4cf00121e
Modificáronse 1 ficheiros con 24 adicións e 0 borrados
  1. 24 0
      .drone.yml

+ 24 - 0
.drone.yml

@@ -0,0 +1,24 @@
+kind: pipeline
+type: docker
+name: gopay
+
+steps:
+  - name: test
+    image: golang:1.13
+    environment:
+      GO111MODULE: "on"
+      GOPROXY: "https://goproxy.cn,direct"
+      CGO_ENABLED: "0"
+      GOOS: linux
+    commands:
+      - go version
+      - go mod tidy
+      - go fmt -x
+      - go test ./...
+
+trigger:
+  branch:
+    - master
+  event:
+    - push
+    - pull_request