From ad19b9f354bf68884201516668514064c6048fd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Noco=C5=84?= Date: Mon, 22 Nov 2021 15:41:10 +0100 Subject: [PATCH] [CI] Added workaround for newer Docker Compose versions (#674) --- bin/.travis/trusty/setup_ezplatform.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/.travis/trusty/setup_ezplatform.sh b/bin/.travis/trusty/setup_ezplatform.sh index 38185c04d5..b8c831c65e 100755 --- a/bin/.travis/trusty/setup_ezplatform.sh +++ b/bin/.travis/trusty/setup_ezplatform.sh @@ -93,6 +93,9 @@ if [[ -n "${DOCKER_PASSWORD}" ]]; then echo ${DOCKER_PASSWORD} | docker login -u ${DOCKER_USERNAME} --password-stdin fi +# Copy .env file to the directory where Docker Compose looks for it to avoid specyfing it directly everywhere +cp .env doc/docker + echo "> Install DB and dependencies" docker-compose -f doc/docker/install-dependencies.yml up --abort-on-container-exit