Skip to content

Commit e9993d3

Browse files
minor symfony#16208 [ci] load php_memcache.dll and apcu.so (nicolas-grekas)
This PR was merged into the 2.3 branch. Discussion ---------- [ci] load php_memcache.dll and apcu.so | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- 2704033 [ci] load php_memcache.dll and apcu.so
2 parents f14aa48 + 2704033 commit e9993d3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ before_install:
3232
- if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then echo "memory_limit = -1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi;
3333
- if [[ "$TRAVIS_PHP_VERSION" = 5.* ]]; then phpenv config-rm xdebug.ini; fi;
3434
- if [[ "$TRAVIS_PHP_VERSION" = 5.* ]]; then echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;
35-
- if [[ "$TRAVIS_PHP_VERSION" =~ 5.[34] ]]; then echo -e "extension = apc.so\napc.enable_cli = 1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;
36-
- if [[ "$TRAVIS_PHP_VERSION" = 5.* ]]; then (pecl install -f memcached-2.1.0 && echo "extension = memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini) || echo "Let's continue without memcache extension"; fi;
35+
- if [[ "$TRAVIS_PHP_VERSION" = 5.* ]]; then (echo yes | pecl install -f apcu-4.0.7 && echo "apc.enable_cli = 1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini) || echo "Let's continue without apcu extension"; fi;
36+
- if [[ "$TRAVIS_PHP_VERSION" = 5.* ]]; then pecl install -f memcached-2.1.0 || echo "Let's continue without memcached extension"; fi;
3737
- if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then php -i; fi;
3838
- if [ "$deps" != "skip" ]; then ./phpunit install; fi;
3939
- export PHPUNIT="$(readlink -f ./phpunit)"

appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ install:
4040
- IF %PHP%==1 copy /Y php.ini-min php.ini-max
4141
- IF %PHP%==1 echo extension=php_apcu.dll >> php.ini-max
4242
- IF %PHP%==1 echo apc.enable_cli=1 >> php.ini-max
43+
- IF %PHP%==1 echo extension=php_memcache.dll >> php.ini-max
4344
- IF %PHP%==1 echo extension=php_intl.dll >> php.ini-max
4445
- IF %PHP%==1 echo extension=php_mbstring.dll >> php.ini-max
4546
- IF %PHP%==1 echo extension=php_fileinfo.dll >> php.ini-max

0 commit comments

Comments
 (0)