From 2a3a64f0ebe68baa79aa5621590a5336df0309f2 Mon Sep 17 00:00:00 2001
From: Timothy J Warren <tim@timshomepage.net>
Date: Wed, 27 Jul 2016 13:35:30 -0400
Subject: [PATCH] Fix travis ci tests

---
 tests/AnimeClient_TestCase.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/AnimeClient_TestCase.php b/tests/AnimeClient_TestCase.php
index 9a9a6a50..04852dc8 100644
--- a/tests/AnimeClient_TestCase.php
+++ b/tests/AnimeClient_TestCase.php
@@ -73,7 +73,7 @@ class AnimeClient_TestCase extends PHPUnit_Framework_TestCase {
 				]
 			],
 			'redis' => [
-				'host' => 'redis',
+				'host' => (array_key_exists('REDIS_HOST', $_ENV)) ? $_ENV['REDIS_HOST'] : 'localhost',
 				'database' => 13
 			]
 		];