Starting the memcached server on travis

To properly test the memcached cache engine
This commit is contained in:
Kamisama 2013-08-27 14:48:36 -04:00
parent 244df0764f
commit 70f321e327

View file

@ -11,6 +11,9 @@ env:
- DB=pgsql - DB=pgsql
- DB=sqlite - DB=sqlite
services:
- memcached
matrix: matrix:
include: include:
- php: 5.4 - php: 5.4
@ -29,6 +32,7 @@ before_script:
- sudo apt-get install lighttpd - sudo apt-get install lighttpd
- sh -c "if [ '$PHPCS' = '1' ]; then pear channel-discover pear.cakephp.org; fi" - sh -c "if [ '$PHPCS' = '1' ]; then pear channel-discover pear.cakephp.org; fi"
- sh -c "if [ '$PHPCS' = '1' ]; then pear install --alldeps cakephp/CakePHP_CodeSniffer; fi" - sh -c "if [ '$PHPCS' = '1' ]; then pear install --alldeps cakephp/CakePHP_CodeSniffer; fi"
- echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- phpenv rehash - phpenv rehash
- set +H - set +H
- echo "<?php - echo "<?php