Fix drone
This commit is contained in:
parent
083ab38ea0
commit
0785283665
18
.drone.yml
18
.drone.yml
|
@ -1,10 +1,6 @@
|
|||
---
|
||||
kind: pipeline
|
||||
name: test-mysql
|
||||
environment:
|
||||
GO111MODULE: "on"
|
||||
GOPROXY: "https://goproxy.io"
|
||||
CGO_ENABLED: 1
|
||||
trigger:
|
||||
ref:
|
||||
- refs/heads/master
|
||||
|
@ -13,6 +9,10 @@ steps:
|
|||
- name: test-vet
|
||||
image: golang:1.15
|
||||
pull: always
|
||||
environment:
|
||||
GO111MODULE: "on"
|
||||
GOPROXY: "https://goproxy.io"
|
||||
CGO_ENABLED: 1
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /go/pkg/mod
|
||||
|
@ -20,6 +20,10 @@ steps:
|
|||
- make vet
|
||||
- name: test-sqlite3
|
||||
image: golang:1.15
|
||||
environment:
|
||||
GO111MODULE: "on"
|
||||
GOPROXY: "https://goproxy.io"
|
||||
CGO_ENABLED: 1
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /go/pkg/mod
|
||||
|
@ -43,6 +47,9 @@ steps:
|
|||
depends_on:
|
||||
- test-vet
|
||||
environment:
|
||||
GO111MODULE: "on"
|
||||
GOPROXY: "https://goproxy.io"
|
||||
CGO_ENABLED: 1
|
||||
TEST_MYSQL_HOST: mysql
|
||||
TEST_MYSQL_CHARSET: utf8
|
||||
TEST_MYSQL_DBNAME: xorm_test
|
||||
|
@ -60,6 +67,9 @@ steps:
|
|||
depends_on:
|
||||
- test-mysql
|
||||
environment:
|
||||
GO111MODULE: "on"
|
||||
GOPROXY: "https://goproxy.io"
|
||||
CGO_ENABLED: 1
|
||||
TEST_MYSQL_HOST: mysql
|
||||
TEST_MYSQL_CHARSET: utf8mb4
|
||||
TEST_MYSQL_DBNAME: xorm_test
|
||||
|
|
Loading…
Reference in New Issue