From b044bb57d20c4038109d9fbe9aad700b33a63d83 Mon Sep 17 00:00:00 2001 From: sorrelbri Date: Fri, 7 Feb 2020 18:35:43 -0800 Subject: [PATCH] add postgres image to circleci config --- .circleci/config.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 87f5862..4bc7263 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -19,16 +19,17 @@ jobs: docker: # specify the version you desire here - image: circleci/node:12.6 - - # Specify service dependencies here if necessary - # CircleCI maintains a library of pre-built images - # documented at https://circleci.com/docs/2.0/circleci-images/ - # - image: circleci/mongo:3.4.4 + environment: + DATABASE_URL: postgresql://root@localhost/circle_test + + # Service container image + - image: circleci/postgres:9.6.5-alpine-ram working_directory: ~/node-go steps: - checkout + - run: sudo apt-get install postgresql-client-9.6 # Download and cache dependencies - restore_cache: