markTestSkipped("memcached not installed. Skipping."); } if ($this->_cacheInstance === null) { $this->_cacheInstance = new MemCache(['useMemcached' => true]); } return $this->_cacheInstance; } public function testExpire() { if (isset($_ENV['TRAVIS']) && $_ENV['TRAVIS']) { $this->markTestSkipped('Can not reliably test memcached expiry on travis-ci.'); } parent::testExpire(); } }