From 8559403c17341fe2af6c4d9cc14ef891d95dd0cc Mon Sep 17 00:00:00 2001 From: mark_story Date: Sat, 11 Mar 2017 08:07:31 -0500 Subject: [PATCH] echo not print. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d9a51de09..9139326e5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 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 + - 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 - echo -e "extension = apcu.so\napc.enable_cli=1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - phpenv rehash - set +H