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
|
||||
|
||||
# Service container image
|
||||
- image: circleci/postgres:9.6.5-alpine-ram
|
||||
- image: circleci/postgres:11.4
|
||||
|
||||
working_directory: ~/node-go
|
||||
|
||||
steps:
|
||||
- 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
|
||||
- restore_cache:
|
||||
|
|
Loading…
Reference in a new issue