fix drone

This commit is contained in:
Lunny Xiao 2018-09-28 14:01:54 +08:00
parent 7ddbd0b6a6
commit d46122841b
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
1 changed files with 11 additions and 10 deletions

View File

@ -8,7 +8,8 @@ clone:
depth: 50
tags: true
mysql:
services:
mysql:
image: mysql:5.7
environment:
- MYSQL_DATABASE=xorm_test
@ -16,15 +17,15 @@ mysql:
when:
event: [ push, tag, pull_request ]
pgsql:
image: postgres:9.5
environment:
- POSTGRES_USER=postgres
- POSTGRES_DB=xorm_test
commands:
- psql xorm_test postgres -c "create schema xorm"
when:
event: [ push, tag, pull_request ]
pgsql:
image: postgres:9.5
environment:
- POSTGRES_USER=postgres
- POSTGRES_DB=xorm_test
commands:
- psql xorm_test postgres -c "create schema xorm"
when:
event: [ push, tag, pull_request ]
pipeline:
test: