Bring back the wait-on for a more reliable build

This commit is contained in:
Robert Schäfer 2019-06-05 01:03:47 +02:00
parent 900b05c280
commit 04b97009ae

View File

@ -9,6 +9,7 @@ addons:
- chromium - chromium
before_install: before_install:
- yarn global add wait-on
# Install Codecov # Install Codecov
- yarn global add codecov - yarn global add codecov
- yarn install - yarn install
@ -16,6 +17,8 @@ before_install:
install: install:
- docker-compose -f docker-compose.yml -f docker-compose.travis.yml up --build -d - docker-compose -f docker-compose.yml -f docker-compose.travis.yml up --build -d
# avoid "Database constraints have changed after this transaction started"
- wait-on http://localhost:7474
script: script:
# Backend # Backend