Skip to content
Browse files

Remove memcache from needed extensions + minor fixes

  • Loading branch information...
1 parent 8961de7 commit 855d8a0b3bef64adc9004e1048115ba3d2549475 @mehlah mehlah committed with nateabele Feb 13, 2012
Showing with 4 additions and 15 deletions.
  1. +1 −1 .travis.yml
  2. +3 −14 tests/ci_depends.php
View
2 .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
View
17 tests/ci_depends.php
@@ -3,7 +3,6 @@
<?php
set_time_limit(0);
-ini_set('phar.readonly', 0);
$installer = new PhpExtensions();
@@ -13,12 +12,10 @@
$installer->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;
}
}

0 comments on commit 855d8a0

Please sign in to comment.
Something went wrong with that request. Please try again.