mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 11:34:03 +00:00
Add Predis support (#59)
* wip * Add Predis support * Enable phpredis extension only for some builds * Add note about phpredis * Fix if command * Revert travis changes & add a version check to predis tests
This commit is contained in:
parent
e7b5a77a6b
commit
1b6759084f
9 changed files with 75 additions and 18 deletions
|
|
@ -1,6 +1,6 @@
|
|||
env:
|
||||
- LARAVEL_VERSION="5.7.*" TESTBENCH_VERSION="~3.7"
|
||||
- LARAVEL_VERSION="5.8.*" TESTBENCH_VERSION="~3.8"
|
||||
- LARAVEL_VERSION="5.7.*" TESTBENCH_VERSION="~3.7" REDIS_DRIVER=phpredis
|
||||
- LARAVEL_VERSION="5.8.*" TESTBENCH_VERSION="~3.8" REDIS_DRIVER=phpredis
|
||||
|
||||
language: php
|
||||
php:
|
||||
|
|
@ -14,7 +14,7 @@ before_install:
|
|||
- echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
||||
|
||||
install:
|
||||
- composer require "laravel/framework:$LARAVEL_VERSION" "orchestra/testbench:$TESTBENCH_VERSION"
|
||||
- travis_retry composer require "laravel/framework:$LARAVEL_VERSION" "orchestra/testbench:$TESTBENCH_VERSION"
|
||||
- travis_retry composer install --no-interaction
|
||||
|
||||
before_script:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue