mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Try apcu install again.
This commit is contained in:
parent
92aac61830
commit
c4aac6234d
1 changed files with 2 additions and 1 deletions
|
@ -43,7 +43,8 @@ before_script:
|
|||
- sh -c "if [ '$PHPCS' = '1' ]; then composer global require 'cakephp/cakephp-codesniffer:1.*'; fi"
|
||||
- sh -c "if [ '$PHPCS' = '1' ]; then ~/.composer/vendor/bin/phpcs --config-set installed_paths ~/.composer/vendor/cakephp/cakephp-codesniffer; fi"
|
||||
- echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
||||
- if [[ ! $(php -m) =~ 'apcu' ]] ; then print "yes" | pecl install apcu; fi
|
||||
- if [[ ${TRAVIS_PHP_VERSION:0:1} == "7" && ! $(php -m) =~ 'apcu' ]] ; then print "yes" | pecl install apcu-5.1.3; fi
|
||||
- if [[ ${TRAVIS_PHP_VERSION:0:1} == "5" && ! $(php -m) =~ 'apcu' ]] ; then print "yes" | pecl install apcu-4.0.11; fi
|
||||
- echo -e "extension = apcu.so\napc.enable_cli=1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
||||
- phpenv rehash
|
||||
- set +H
|
||||
|
|
Loading…
Reference in a new issue