Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"description": "Scripts for testing drupal projects.",
"type": "library",
"license": "GPL-2.0-or-later",
"minimum-stability": "dev",
"prefer-stable": true,
"authors": [
{
Expand Down
2 changes: 1 addition & 1 deletion lib/stages/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ _stage_build() {
local testing_project_name=drupal-testing-"${DRUPAL_TESTING_COMPOSER_NAME}"
composer config name "${testing_project_name}" --working-dir="${DRUPAL_TESTING_PROJECT_BASEDIR}"
composer remove "${DRUPAL_TESTING_COMPOSER_NAME}" --no-update --working-dir="${DRUPAL_TESTING_DRUPAL_INSTALLATION_DIRECTORY}"
composer require "${testing_project_name}:*" --no-update --working-dir="${DRUPAL_TESTING_DRUPAL_INSTALLATION_DIRECTORY}"
composer require "${testing_project_name}:*@dev" --no-update --working-dir="${DRUPAL_TESTING_DRUPAL_INSTALLATION_DIRECTORY}"

# Install all dependencies
cd "${DRUPAL_TESTING_DRUPAL_INSTALLATION_DIRECTORY}" || exit
Expand Down
1 change: 0 additions & 1 deletion lib/stages/prepare_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ _stage_prepare_build() {
# Build is based on drupal project
composer create-project "${DRUPAL_TESTING_COMPOSER_PROJECT}":"${DRUPAL_TESTING_COMPOSER_PROJECT_VERSION}" "${DRUPAL_TESTING_DRUPAL_INSTALLATION_DIRECTORY}" --no-interaction --no-install

composer config "minimum-stability" dev --working-dir="${DRUPAL_TESTING_DRUPAL_INSTALLATION_DIRECTORY}"
composer config "prefer-stable" true --working-dir="${DRUPAL_TESTING_DRUPAL_INSTALLATION_DIRECTORY}"

if [[ ${DRUPAL_TESTING_PROJECT_TYPE} != "drupal-profile" ]]; then
Expand Down
1 change: 0 additions & 1 deletion lib/stages/prepare_old_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ _stage_prepare_old_install() {
# Build is based on drupal project
composer create-project "${DRUPAL_TESTING_COMPOSER_PROJECT}":"${DRUPAL_TESTING_UPGRADE_COMPOSER_PROJECT_VERSION}" "${DRUPAL_TESTING_DRUPAL_INSTALLATION_DIRECTORY}" --no-interaction --no-install

composer config "minimum-stability" dev --working-dir="${DRUPAL_TESTING_DRUPAL_INSTALLATION_DIRECTORY}"
composer config "prefer-stable" true --working-dir="${DRUPAL_TESTING_DRUPAL_INSTALLATION_DIRECTORY}"

# Reorder repositories, to make sure, local path is first.
Expand Down