improve drone

This commit is contained in:
Lunny Xiao 2019-11-12 21:13:44 +08:00
parent 5a3fc35354
commit caea1f8968
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
1 changed files with 2 additions and 9 deletions

View File

@ -174,11 +174,7 @@ services:
--- ---
kind: pipeline kind: pipeline
name: go1.13-build name: go1.13-test
depends_on:
- clone
clone:
disable: true
steps: steps:
- name: build - name: build
pull: default pull: default
@ -194,10 +190,6 @@ steps:
- push - push
- pull_request - pull_request
---
kind: pipeline
name: go1.13-test
steps:
- name: test-sqlite - name: test-sqlite
pull: default pull: default
image: golang:1.13 image: golang:1.13
@ -319,6 +311,7 @@ steps:
GO111MODULE: "on" GO111MODULE: "on"
GOPROXY: "https://goproxy.cn" GOPROXY: "https://goproxy.cn"
depends_on: depends_on:
- build
- test-sqlite - test-sqlite
- test-mysql - test-mysql
- test-mysql-utf8mb4 - test-mysql-utf8mb4