|
|
@ -36,13 +36,18 @@ jobs: |
|
|
e2etest: |
|
|
e2etest: |
|
|
docker: |
|
|
docker: |
|
|
- image: cimg/node:12.18.4 |
|
|
- image: cimg/node:12.18.4 |
|
|
- image: circleci/postgres:9.6.2-alpine |
|
|
|
|
|
environment: |
|
|
environment: |
|
|
DATABASE_URL: postgres://antoine_mortelier:psqlpassword@localhost:5432/psdb |
|
|
|
|
|
|
|
|
DATABASE_URL: postgres://antoine_mortelier:pwd@localhost:5432/psdb |
|
|
JWT_SECRET: some string yo want |
|
|
JWT_SECRET: some string yo want |
|
|
API_PORT: 3000 |
|
|
API_PORT: 3000 |
|
|
API_HOST: localhost |
|
|
API_HOST: localhost |
|
|
API_PROTOCOL: http |
|
|
API_PROTOCOL: http |
|
|
|
|
|
- image: circleci/postgres:9.6.2-alpine |
|
|
|
|
|
environment: |
|
|
|
|
|
POSTGRES_USER: antoine_mortelier |
|
|
|
|
|
POSTGRES_DB: psdb |
|
|
|
|
|
POSTGRES_PASSWORD: pwd |
|
|
|
|
|
|
|
|
steps: |
|
|
steps: |
|
|
- checkout |
|
|
- checkout |
|
|
- restore_cache: |
|
|
- restore_cache: |
|
|
|