config psql in circleci config
This commit is contained in:
parent
b044bb57d2
commit
68f8f4bf50
1 changed files with 3 additions and 2 deletions
|
@ -23,13 +23,14 @@ jobs:
|
||||||
DATABASE_URL: postgresql://root@localhost/circle_test
|
DATABASE_URL: postgresql://root@localhost/circle_test
|
||||||
|
|
||||||
# Service container image
|
# Service container image
|
||||||
- image: circleci/postgres:9.6.5-alpine-ram
|
- image: circleci/postgres:11.4
|
||||||
|
|
||||||
working_directory: ~/node-go
|
working_directory: ~/node-go
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run: sudo apt-get install postgresql-client-9.6
|
- run: sudo apt-get install postgresql-client-11.4
|
||||||
|
- run: psql CREATE DATABASE circle_test
|
||||||
|
|
||||||
# Download and cache dependencies
|
# Download and cache dependencies
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
|
|
Loading…
Reference in a new issue