From eb8f3684eb8844898bd411c1c17e1150861b1d53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Sat, 2 Feb 2019 14:13:29 +0100 Subject: [PATCH] Enable redis.so in before_install --- .travis.yml | 3 +++ tests/TestCase.php | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 07cafa91..ec01174d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,9 @@ branches: only: - master +before_install: + - echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini + install: - travis_retry composer install --no-interaction diff --git a/tests/TestCase.php b/tests/TestCase.php index 9a526411..e411b3a1 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -15,8 +15,6 @@ class TestCase extends \Orchestra\Testbench\TestCase { parent::setUp(); - $this->assertSame('Redis', \Redis::class); // (travis test) todo remove this line - Redis::connection('tenancy')->flushdb(); tenant()->create('phpunit.localhost');