From 04b97009aecea46921411269766ffa3f41f61f31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=A4fer?= Date: Wed, 5 Jun 2019 01:03:47 +0200 Subject: [PATCH] Bring back the `wait-on` for a more reliable build --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index b74dcd69e..42b427a11 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,7 @@ addons: - chromium before_install: + - yarn global add wait-on # Install Codecov - yarn global add codecov - yarn install @@ -16,6 +17,8 @@ before_install: install: - 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: # Backend