From 95c5d8f26726d429bd200170ab496ec24b900eff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Noco=C5=84?= Date: Fri, 26 Feb 2021 13:52:19 +0100 Subject: [PATCH] [Travis] Disabled symlinking of local dependency (#650) --- bin/.travis/trusty/setup_ezplatform.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/.travis/trusty/setup_ezplatform.sh b/bin/.travis/trusty/setup_ezplatform.sh index 35138b777..38185c04d 100755 --- a/bin/.travis/trusty/setup_ezplatform.sh +++ b/bin/.travis/trusty/setup_ezplatform.sh @@ -75,7 +75,10 @@ if [[ -n "${DEPENDENCY_PACKAGE_NAME}" ]]; then sudo mkdir -p /var/www/${BASE_PACKAGE_NAME} fi echo "> Make composer use tested dependency local checkout ${TMP_TRAVIS_BRANCH} of ${BASE_PACKAGE_NAME}" - composer config repositories.localDependency path /var/www/${BASE_PACKAGE_NAME} + REPOSITORY_PROPERTIES=$( jq -n \ + --arg basePackageName "/var/www/$BASE_PACKAGE_NAME" \ + '{"type": "path", "url": $basePackageName, "options": { "symlink": false }}' ) + composer config repositories.localDependency "$REPOSITORY_PROPERTIES" echo "> Require ${DEPENDENCY_PACKAGE_NAME}:dev-${TMP_TRAVIS_BRANCH} as ${BRANCH_ALIAS}" if ! composer require --no-update "${DEPENDENCY_PACKAGE_NAME}:dev-${TMP_TRAVIS_BRANCH} as ${BRANCH_ALIAS}"; then