Skip to content

Commit

Permalink
Install standard magento packages before custom packages
Browse files Browse the repository at this point in the history
  • Loading branch information
chevli committed Oct 17, 2018
1 parent f53c054 commit fd5b545
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Test/Integration/setup-magento.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fd5b545

Please sign in to comment.