Commit f5c25e08 by Carsten Brandt

travis memcache env check: try again

parent a75c07be
......@@ -29,8 +29,8 @@ class MemCacheTest extends CacheTestCase
public function testExpire()
{
print_r($_ENV);
if (isset($_ENV['TRAVIS']) && $_ENV['TRAVIS']) {
echo getenv('TRAVIS');
if (($env = getenv('TRAVIS')) !== false && $env == 'true') {
$this->markTestSkipped('Can not reliably test memcache expiry on travis-ci.');
}
parent::testExpire();
......
......@@ -29,8 +29,8 @@ class MemCachedTest extends CacheTestCase
public function testExpire()
{
print_r($_ENV);
if (isset($_ENV['TRAVIS']) && $_ENV['TRAVIS']) {
echo getenv('TRAVIS');
if (($env = getenv('TRAVIS')) !== false && $env == '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