add postgres image to circleci config
This commit is contained in:
parent
8b1ef3dbff
commit
b044bb57d2
1 changed files with 6 additions and 5 deletions
|
@ -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:
|
||||||
|
DATABASE_URL: postgresql://root@localhost/circle_test
|
||||||
|
|
||||||
# Specify service dependencies here if necessary
|
# Service container image
|
||||||
# CircleCI maintains a library of pre-built images
|
- image: circleci/postgres:9.6.5-alpine-ram
|
||||||
# documented at https://circleci.com/docs/2.0/circleci-images/
|
|
||||||
# - image: circleci/mongo:3.4.4
|
|
||||||
|
|
||||||
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:
|
||||||
|
|
Loading…
Reference in a new issue