Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dd142e2

Browse files
minor #39844 [travis] always install ext-mongodb (nicolas-grekas)
This PR was merged into the 4.4 branch. Discussion ---------- [travis] always install ext-mongodb | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Commits ------- 7cc9904 [travis] always install ext-mongodb
2 parents 2c9a837 + 7cc9904 commit dd142e2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ before_install:
103103
else
104104
rm ~/.pearrc /tmp/pear 2>/dev/null || true
105105
mkdir -p $ext_cache
106-
echo $input | pecl install -f $ext_name &&
106+
echo $input | pecl -q install -f $ext_name &&
107107
cp $ext_dir/$ext_so $ext_cache
108108
fi
109109
}
@@ -147,11 +147,11 @@ before_install:
147147
if [[ $PHP = 8.* ]]; then
148148
tfold ext.memcached tpecl memcached-3.1.5 memcached.so $INI
149149
else
150-
tfold ext.mongodb tpecl mongodb-1.8.1 mongodb.so $INI
151150
tfold ext.zookeeper tpecl zookeeper-0.7.2 zookeeper.so $INI
152151
tfold ext.amqp tpecl amqp-1.10.2 amqp.so $INI
153152
fi
154153
154+
tfold ext.mongodb tpecl mongodb-1.9.0 mongodb.so $INI
155155
tfold ext.apcu tpecl apcu-5.1.19 apcu.so $INI
156156
tfold ext.igbinary tpecl igbinary-3.1.6 igbinary.so $INI
157157
tfold ext.redis tpecl redis-5.2.3 redis.so $INI "no"
@@ -253,7 +253,7 @@ install:
253253
fi
254254
phpenv global $PHP
255255
rm vendor/composer/package-versions-deprecated -Rf
256-
([[ $deps ]] && cd src/Symfony/Component/HttpFoundation; cp composer.json composer.bak; composer config platform.ext-mongodb 1.8.99; composer require --dev --no-update mongodb/mongodb ^1.8.1)
256+
([[ $deps ]] && cd src/Symfony/Component/HttpFoundation; cp composer.json composer.bak; composer require --dev --no-update mongodb/mongodb ^1.9.0)
257257
tfold 'composer update' $COMPOSER_UP
258258
tfold 'phpunit install' ./phpunit install
259259
if [[ $deps = high ]]; then
@@ -269,7 +269,7 @@ install:
269269
git fetch --depth=2 origin $SYMFONY_VERSION
270270
git checkout -m FETCH_HEAD
271271
COMPONENTS=$(echo "$COMPONENTS" | xargs dirname | xargs -n1 -I{} bash -c "[ -e '{}/phpunit.xml.dist' ] && echo '{}'" | sort)
272-
(cd src/Symfony/Component/HttpFoundation; composer config platform.ext-mongodb 1.8.99; composer require --dev --no-update mongodb/mongodb)
272+
(cd src/Symfony/Component/HttpFoundation; composer require --dev --no-update mongodb/mongodb)
273273
[[ ! $COMPONENTS ]] || tfold 'phpunit install' SYMFONY_PHPUNIT_REMOVE_RETURN_TYPEHINT=1 ./phpunit install
274274
[[ ! $COMPONENTS ]] || echo "$COMPONENTS" | parallel --gnu "tfold {} 'cd {} && rm composer.lock vendor/ -Rf && $COMPOSER_UP && $PHPUNIT_X$LEGACY'" || X=1
275275
fi

0 commit comments

Comments
 (0)