Browse Source

add dockerize wait for psql

main
Galimede 6 years ago
parent
commit
83d2d2db14
  1. 4
      .circleci/config.yml

4
.circleci/config.yml

@ -39,7 +39,11 @@ jobs:
- checkout - checkout
- restore_cache: - restore_cache:
key: yarn-packages-v2{{ checksum "yarn.lock" }} key: yarn-packages-v2{{ checksum "yarn.lock" }}
- run:
name: Waiting for POSTGRES
command: dockerize -wait tcp://localhost:5432 -timeout 1m
- run: - run:
name: Launching e2e test
command: yarn test:e2e command: yarn test:e2e
environment: environment:
DATABASE_URL: "postgres://e2e@localhost:5432/psdb" DATABASE_URL: "postgres://e2e@localhost:5432/psdb"

Loading…
Cancel
Save