diff --git a/.travis.yml b/.travis.yml index fc2abf51ce..abb176e7d5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ php: - 5.3 - 5.4 -before_script: php tests/ci_depends.php +before_script: php tests/ci_depends.php $OPCODE_CACHE script: console/li3 test tests/cases diff --git a/tests/ci_depends.php b/tests/ci_depends.php index 65a385a4fd..1f4cc5efb3 100644 --- a/tests/ci_depends.php +++ b/tests/ci_depends.php @@ -3,7 +3,6 @@ install('xcache'); } -$installer->install('memcache'); $installer->install('memcached'); $installer->install('mongo'); -class PhpExtensions -{ +class PhpExtensions { protected $extensions; protected $phpVersion; protected $iniPath; @@ -27,12 +24,6 @@ public function __construct() { $this->phpVersion = phpversion(); $this->iniPath = php_ini_loaded_file(); $this->extensions = array( - 'memcache' => array( - 'url' => 'http://pecl.php.net/get/memcache-2.2.6.tgz', - 'php_version' => array(), - 'cfg' => array('--enable-memcache'), - 'ini' => array('extension=memcache.so'), - ), 'memcached' => array( 'url' => 'http://pecl.php.net/get/memcached-1.0.2.tgz', 'php_version' => array( @@ -66,8 +57,8 @@ public function __construct() { 'extension=xcache.so', 'xcache.cacher=false', 'xcache.admin.enable_auth=0', - 'xcache.var_size=1M', - ), + 'xcache.var_size=1M' + ) ), 'mongo' => array( 'url' => 'http://pecl.php.net/get/mongo-1.2.7.tgz', @@ -83,7 +74,6 @@ public function install($name) { if (array_key_exists($name, $this->extensions)) { $extension = $this->extensions[$name]; - echo "== extension: $name ==\n"; foreach ($extension['php_version'] as $version) { @@ -94,7 +84,6 @@ public function install($name) { $version[1], $this->phpVersion ); - return; } }