config psql in circleci config

This commit is contained in:
sorrelbri 2020-02-07 19:21:19 -08:00
parent b044bb57d2
commit 68f8f4bf50

View file

@ -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: