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
|
kind: pipeline
|
||||||
name: tests-integration
|
name: tests-integration
|
||||||
steps:
|
steps:
|
||||||
|
- name: setup
|
||||||
|
image: postgres
|
||||||
|
commands:
|
||||||
|
- sleep 15
|
||||||
|
- cat postgres/*.sql | psql --host pg --user root --db core
|
||||||
- name: go
|
- name: go
|
||||||
image: golang:1.12
|
image: golang:1.12
|
||||||
commands:
|
commands:
|
||||||
|
@ -11,11 +16,9 @@ services:
|
||||||
- name: pg
|
- name: pg
|
||||||
image: postgres
|
image: postgres
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=root
|
POSTGRES_USER: root
|
||||||
- POSTGRES_PASSWORD=
|
POSTGRES_PASSWORD:
|
||||||
- POSTGRES_DB=core
|
POSTGRES_DB: core
|
||||||
volumes:
|
|
||||||
- ./postgres:/docker-entrypoint-initdb.d:ro
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
|
Loading…
Reference in New Issue