Skip to content

Commit

Permalink
Try again to get apcu install step working.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Mar 11, 2017
1 parent 8559403 commit 173f927
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -43,8 +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 [[ ${TRAVIS_PHP_VERSION:0:1} == "7" && ! $(php -m) =~ 'apcu' ]] ; then echo "yes" | pecl install apcu-5.1.3; fi
- if [[ ${TRAVIS_PHP_VERSION:0:1} == "5" && ! $(php -m) =~ 'apcu' ]] ; then echo "yes" | pecl install apcu-4.0.11; fi
- if [[ ${TRAVIS_PHP_VERSION:0:1} == "7" ]] ; then echo "yes" | pecl install apcu-5.1.3 || true; fi
- if [[ ${TRAVIS_PHP_VERSION:0:1} == "5" ]] ; then echo "yes" | pecl install apcu-4.0.11 || true; fi
- echo -e "extension = apcu.so\napc.enable_cli=1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- phpenv rehash
- set +H
Expand Down

0 comments on commit 173f927

Please sign in to comment.