mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 17:44:05 +00:00
Enable redis.so in before_install
This commit is contained in:
parent
e5393cc52c
commit
eb8f3684eb
2 changed files with 3 additions and 2 deletions
|
|
@ -7,6 +7,9 @@ branches:
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- travis_retry composer install --no-interaction
|
- travis_retry composer install --no-interaction
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,6 @@ class TestCase extends \Orchestra\Testbench\TestCase
|
||||||
{
|
{
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
|
|
||||||
$this->assertSame('Redis', \Redis::class); // (travis test) todo remove this line
|
|
||||||
|
|
||||||
Redis::connection('tenancy')->flushdb();
|
Redis::connection('tenancy')->flushdb();
|
||||||
|
|
||||||
tenant()->create('phpunit.localhost');
|
tenant()->create('phpunit.localhost');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue