Enable redis server in travis for testing

This commit is contained in:
Daniel Mason 2018-05-25 19:53:55 +12:00
parent bc39882dd7
commit c862009505
6 changed files with 1541 additions and 11 deletions

View file

@ -124,7 +124,7 @@ class Resque_Redis
$timeout = isset($options['timeout']) ? intval($options['timeout']) : null;
$this->redisConnection = new \Redis();
$this->redisConnection = new Redis();
if (!$this->redisConnection->connect($host, $port, $timeout)) {
throw new RedisException("Connection Failed to Redis!");