fix drone
This commit is contained in:
parent
7ddbd0b6a6
commit
d46122841b
21
.drone.yml
21
.drone.yml
|
@ -8,7 +8,8 @@ clone:
|
||||||
depth: 50
|
depth: 50
|
||||||
tags: true
|
tags: true
|
||||||
|
|
||||||
mysql:
|
services:
|
||||||
|
mysql:
|
||||||
image: mysql:5.7
|
image: mysql:5.7
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_DATABASE=xorm_test
|
- MYSQL_DATABASE=xorm_test
|
||||||
|
@ -16,15 +17,15 @@ mysql:
|
||||||
when:
|
when:
|
||||||
event: [ push, tag, pull_request ]
|
event: [ push, tag, pull_request ]
|
||||||
|
|
||||||
pgsql:
|
pgsql:
|
||||||
image: postgres:9.5
|
image: postgres:9.5
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=postgres
|
- POSTGRES_USER=postgres
|
||||||
- POSTGRES_DB=xorm_test
|
- POSTGRES_DB=xorm_test
|
||||||
commands:
|
commands:
|
||||||
- psql xorm_test postgres -c "create schema xorm"
|
- psql xorm_test postgres -c "create schema xorm"
|
||||||
when:
|
when:
|
||||||
event: [ push, tag, pull_request ]
|
event: [ push, tag, pull_request ]
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
test:
|
test:
|
||||||
|
|
Loading…
Reference in New Issue