add postgres image to circleci config

This commit is contained in:
sorrelbri 2020-02-07 18:35:43 -08:00
parent 8b1ef3dbff
commit b044bb57d2

View file

@ -19,16 +19,17 @@ jobs:
docker: docker:
# specify the version you desire here # specify the version you desire here
- image: circleci/node:12.6 - image: circleci/node:12.6
environment:
# Specify service dependencies here if necessary DATABASE_URL: postgresql://root@localhost/circle_test
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/ # Service container image
# - image: circleci/mongo:3.4.4 - image: circleci/postgres:9.6.5-alpine-ram
working_directory: ~/node-go working_directory: ~/node-go
steps: steps:
- checkout - checkout
- run: sudo apt-get install postgresql-client-9.6
# Download and cache dependencies # Download and cache dependencies
- restore_cache: - restore_cache: