Skip to content

Commit f65c9c6

Browse files
committed
CI: Install module from path since wercker did a shallow clone
1 parent 6d103fe commit f65c9c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/install-magento.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ BIN_MAGENTO=magento-command
3131
mysqladmin -u$M2SETUP_DB_USER -p"$M2SETUP_DB_PASSWORD" -h$M2SETUP_DB_HOST create $M2SETUP_DB_NAME
3232
DEBUG=true magento-installer
3333
cd /var/www/magento
34-
composer config repositories.solr-module vcs $MODULE_DIR
34+
composer config repositories.solr-module '{"type":"path", "url":"'$MODULE_DIR'", "options":{"symlink":false}}'
3535
composer config repositories.solr-autosuggest vcs [email protected]:integer-net/solr-magento2-autosuggest.git
3636
composer config repositories.solr-base vcs [email protected]:integer-net/solr-base.git
3737
composer config repositories.solr-pro vcs [email protected]:integer-net/solr-pro.git
3838
sed -i -e 's/"psr-4": {/"psr-4": {\n "IntegerNet\\\\Solr\\\\": ["vendor\/integer-net\/solr-magento2\/main\/test\/unit", "vendor\/integer-net\/solr-magento2\/main\/test\/integration", "vendor\/integer-net\/solr-base\/test\/Solr" ],/g' composer.json
3939
composer config minimum-stability dev
40-
composer require integer-net/solr-magento2 dev-tmp --no-update
40+
composer require integer-net/solr-magento2 @dev --no-update
4141
composer require --dev tddwizard/magento2-fixtures 0.3.1 --no-update
4242
phpunit_version="$(composer info | grep "phpunit/phpunit " | awk '{ print $2 }')"
4343
phpunit_minimum="5.7.0"

0 commit comments

Comments
 (0)