Commit 15a9b04f by Carsten Brandt

simplified travis env check for memcache(d)

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