simplified travis env check for memcache(d)

This commit is contained in:
Carsten Brandt
2013-10-29 13:54:55 +01:00
parent f5c25e0858
commit 15a9b04fcc
2 changed files with 2 additions and 4 deletions

View File

@ -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();

View File

@ -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();