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

@ -22,7 +22,7 @@ class Resque_Tests_TestCase extends PHPUnit\Framework\TestCase
{
// $config = file_get_contents(REDIS_CONF);
// preg_match('#^\s*port\s+([0-9]+)#m', $config, $matches);
$this->redis = new \Redis();
$this->redis = new Redis();
$this->redis->connect('localhost');
$this->redis->select(9);