fix drone
This commit is contained in:
parent
3e7c783e24
commit
30be68ea63
|
@ -10,9 +10,7 @@ steps:
|
||||||
pull: default
|
pull: default
|
||||||
image: golang:1.10
|
image: golang:1.10
|
||||||
commands:
|
commands:
|
||||||
- go get -t -d -v ./...
|
- go get -t -d -v
|
||||||
- go get -u xorm.io/core
|
|
||||||
- go get -u xorm.io/builder
|
|
||||||
- go build -v
|
- go build -v
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
|
@ -87,6 +85,8 @@ steps:
|
||||||
- name: test-postgres-schema
|
- name: test-postgres-schema
|
||||||
pull: default
|
pull: default
|
||||||
image: golang:1.10
|
image: golang:1.10
|
||||||
|
depends_on:
|
||||||
|
- build
|
||||||
commands:
|
commands:
|
||||||
- "go test -v -race -db=\"postgres\" -conn_str=\"postgres://postgres:@pgsql/xorm_test?sslmode=disable\" -schema=xorm -coverprofile=coverage5-1.txt -covermode=atomic"
|
- "go test -v -race -db=\"postgres\" -conn_str=\"postgres://postgres:@pgsql/xorm_test?sslmode=disable\" -schema=xorm -coverprofile=coverage5-1.txt -covermode=atomic"
|
||||||
- "go test -v -race -db=\"postgres\" -conn_str=\"postgres://postgres:@pgsql/xorm_test?sslmode=disable\" -schema=xorm -cache=true -coverprofile=coverage5-2.txt -covermode=atomic"
|
- "go test -v -race -db=\"postgres\" -conn_str=\"postgres://postgres:@pgsql/xorm_test?sslmode=disable\" -schema=xorm -cache=true -coverprofile=coverage5-2.txt -covermode=atomic"
|
||||||
|
|
Loading…
Reference in New Issue