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 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: