Browse Source

print travis ENV

tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
a75c07be22
  1. 1
      tests/unit/framework/caching/MemCacheTest.php
  2. 1
      tests/unit/framework/caching/MemCachedTest.php

1
tests/unit/framework/caching/MemCacheTest.php

@ -29,6 +29,7 @@ class MemCacheTest extends CacheTestCase
public function testExpire() public function testExpire()
{ {
print_r($_ENV);
if (isset($_ENV['TRAVIS']) && $_ENV['TRAVIS']) { if (isset($_ENV['TRAVIS']) && $_ENV['TRAVIS']) {
$this->markTestSkipped('Can not reliably test memcache expiry on travis-ci.'); $this->markTestSkipped('Can not reliably test memcache expiry on travis-ci.');
} }

1
tests/unit/framework/caching/MemCachedTest.php

@ -29,6 +29,7 @@ class MemCachedTest extends CacheTestCase
public function testExpire() public function testExpire()
{ {
print_r($_ENV);
if (isset($_ENV['TRAVIS']) && $_ENV['TRAVIS']) { if (isset($_ENV['TRAVIS']) && $_ENV['TRAVIS']) {
$this->markTestSkipped('Can not reliably test memcached expiry on travis-ci.'); $this->markTestSkipped('Can not reliably test memcached expiry on travis-ci.');
} }

Loading…
Cancel
Save