Commit 4c27d887 by Paul Klimov

Merge branch 'master' of github.com:yiisoft/yii2 into email-swift-2

parents 99d82161 842971c4
<?php <?php
// ensure we get report on all possible php errors
error_reporting(-1);
define('YII_ENABLE_ERROR_HANDLER', false); define('YII_ENABLE_ERROR_HANDLER', false);
define('YII_DEBUG', true); define('YII_DEBUG', true);
$_SERVER['SCRIPT_NAME'] = '/' . __DIR__; $_SERVER['SCRIPT_NAME'] = '/' . __DIR__;
......
...@@ -26,4 +26,12 @@ class MemCacheTest extends CacheTestCase ...@@ -26,4 +26,12 @@ class MemCacheTest extends CacheTestCase
} }
return $this->_cacheInstance; return $this->_cacheInstance;
} }
public function testExpire()
{
if (getenv('TRAVIS') == 'true') {
$this->markTestSkipped('Can not reliably test memcache expiry on travis-ci.');
}
parent::testExpire();
}
} }
...@@ -26,4 +26,12 @@ class MemCachedTest extends CacheTestCase ...@@ -26,4 +26,12 @@ class MemCachedTest extends CacheTestCase
} }
return $this->_cacheInstance; return $this->_cacheInstance;
} }
public function testExpire()
{
if (getenv('TRAVIS') == 'true') {
$this->markTestSkipped('Can not reliably test memcached expiry on travis-ci.');
}
parent::testExpire();
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment