-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install standard magento packages before custom packages
- Loading branch information
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,20 +14,20 @@ cd magento2 | |
|
||
git checkout tags/$1 -b $1 | ||
|
||
composer install | ||
|
||
echo Temporary change versions to attempt to resolve any dependency issue | ||
composer require symfony/config:4.1.* --no-update | ||
composer require symfony/dependency-injection:3.3.* --no-update | ||
composer require symfony/config:4.1.* | ||
composer require symfony/dependency-injection:3.3.* | ||
|
||
if [ -z "${TRAVIS_TAG}" ]; then | ||
echo Require configurator branch: ${TRAVIS_BRANCH} commit: ${TRAVIS_COMMIT} | ||
composer require ctidigital/magento2-configurator dev-${TRAVIS_BRANCH}\#${TRAVIS_COMMIT} --no-update | ||
composer require ctidigital/magento2-configurator dev-${TRAVIS_BRANCH}\#${TRAVIS_COMMIT} | ||
else | ||
echo Require configurator release ${TRAVIS_TAG:1} | ||
composer require ctidigital/magento2-configurator ${TRAVIS_TAG:1} --no-update | ||
composer require ctidigital/magento2-configurator ${TRAVIS_TAG:1} | ||
fi | ||
|
||
composer install | ||
|
||
php bin/magento setup:install --admin-email "[email protected]" --admin-firstname "CTI" --admin-lastname "Test" --admin-password "password123" --admin-user "admin" --backend-frontname admin --base-url "http://configurator.dev" --db-host 127.0.0.1 --db-name configurator --db-user root --session-save files --use-rewrites 1 --use-secure 0 -vvv | ||
|
||
echo Go to app etc folder | ||
|