ソースを参照

project: test 19

Yi 1 年間 前
コミット
58da2f1c1b
1 ファイル変更5 行追加5 行削除
  1. 5 5
      .drone.yml

+ 5 - 5
.drone.yml

@@ -18,14 +18,14 @@ steps:
     commands:
       - git clone -b develop http://kpt.kptyun.cn:3000/xuyiping/kpt-tmr-group.git
   - name: test
-    image: plugins/docker
+    image: golang:1.17
     commands:
       - cd /drone/src/kpt-tmr-group
       - go test `go list ./... | grep -v -E "mock|store|test|fake|cmd|bin|backend|google|logger|proto"` -coverprofile .cover.txt
       - go tool cover -func .cover.txt
       - rm .cover.txt
   - name: build
-    image: goland:1.17
+    image: plugins/docker
     volumes:
       - name: hosts
         path: /etc/hosts
@@ -48,9 +48,9 @@ trigger:
   branch:
     include:
     - develop
-    event:
-      include:
-      - push
+  event:
+    include:
+    - push
 
 
 volumes: