Browse Source

try new config database

pull/2/head
Neel Coffin 6 years ago
parent
commit
3264b9b707
  1. 26
      .circleci/config.yml

26
.circleci/config.yml

@ -45,20 +45,22 @@ jobs:
paths:
- ./node_modules
test_e2e:
docker:
- image: postgres:9.6-jessie
database:
docker:
- image: circleci/postgres:9.6.2-alpine
environment:
POSTGRES_USER: e2e
POSTGRES_USER: psqluser
POSTGRES_PASSWORD: psqlpassword
POSTGRES_DB: psdb
steps:
- run:
command: yarn test:e2e
environment:
DATABASE_URL: postgres://$POSTGRES_USER@localhost:5432/$POSTGRES_DB
API_PORT: 3000
API_HOST: localhost
API_PROTOCOL: http
steps:
- checkout
- run:
command: yarn test:e2e
environment:
DATABASE_URL: postgres://$POSTGRES_USER@localhost:5432/$POSTGRES_DB
API_PORT: 3000
API_HOST: localhost
API_PROTOCOL: http
workflows:

Loading…
Cancel
Save