4
1
Fork 0

Fix experimental Drone file
continuous-integration/drone/push Build is passing Details

pull/24/head
Ambrose Chua 2019-09-01 00:27:35 +08:00
parent 0bd5238096
commit d7be6bbc7c
Signed by: ambrose
GPG Key ID: B34FBE029276BA5D
1 changed files with 8 additions and 5 deletions

View File

@ -1,6 +1,11 @@
kind: pipeline
name: tests-integration
steps:
- name: setup
image: postgres
commands:
- sleep 15
- cat postgres/*.sql | psql --host pg --user root --db core
- name: go
image: golang:1.12
commands:
@ -11,11 +16,9 @@ services:
- name: pg
image: postgres
environment:
- POSTGRES_USER=root
- POSTGRES_PASSWORD=
- POSTGRES_DB=core
volumes:
- ./postgres:/docker-entrypoint-initdb.d:ro
POSTGRES_USER: root
POSTGRES_PASSWORD:
POSTGRES_DB: core
trigger:
branch:
- master