mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Starting the memcached server on travis
To properly test the memcached cache engine
This commit is contained in:
parent
244df0764f
commit
70f321e327
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue