Fix experimental Drone file
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
0bd5238096
commit
d7be6bbc7c
13
.drone.yml
13
.drone.yml
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue