1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-04 14:44:05 +00:00

Enable redis.so in before_install

This commit is contained in:
Samuel Štancl 2019-02-02 14:13:29 +01:00
parent e5393cc52c
commit eb8f3684eb
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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');