mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 00:34:04 +00:00
Enable phpredis extension only for some builds
This commit is contained in:
parent
6585ecd962
commit
03ee52e62a
2 changed files with 7 additions and 6 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
env:
|
env:
|
||||||
- LARAVEL_VERSION="5.7.*" TESTBENCH_VERSION="~3.7"
|
- LARAVEL_VERSION="5.7.*" TESTBENCH_VERSION="~3.7" REDIS_DRIVER=phpredis
|
||||||
- LARAVEL_VERSION="5.8.*" TESTBENCH_VERSION="~3.8"
|
- LARAVEL_VERSION="5.8.*" TESTBENCH_VERSION="~3.8" REDIS_DRIVER=phpredis
|
||||||
|
- LARAVEL_VERSION="5.8.*" TESTBENCH_VERSION="~3.8" REDIS_DRIVER=predis
|
||||||
|
|
||||||
language: php
|
language: php
|
||||||
php:
|
php:
|
||||||
|
|
@ -11,7 +12,7 @@ services:
|
||||||
- redis-server
|
- redis-server
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
- if ["$REDIS_DRIVER" = "phpredis"]; then echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- composer require "laravel/framework:$LARAVEL_VERSION" "orchestra/testbench:$TESTBENCH_VERSION"
|
- composer require "laravel/framework:$LARAVEL_VERSION" "orchestra/testbench:$TESTBENCH_VERSION"
|
||||||
|
|
|
||||||
|
|
@ -11,15 +11,15 @@
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"illuminate/support": "5.7.*||5.8.*",
|
"illuminate/support": "5.7.*||5.8.*",
|
||||||
"webpatser/laravel-uuid": "^3.0"
|
"webpatser/laravel-uuid": "^3.0",
|
||||||
|
"predis/predis": "^1.1"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"vlucas/phpdotenv": "^2.2||^3.3",
|
"vlucas/phpdotenv": "^2.2||^3.3",
|
||||||
"psy/psysh": "@stable",
|
"psy/psysh": "@stable",
|
||||||
"laravel/framework": "5.7.*||5.8.*",
|
"laravel/framework": "5.7.*||5.8.*",
|
||||||
"orchestra/testbench": "~3.7||~3.8",
|
"orchestra/testbench": "~3.7||~3.8",
|
||||||
"league/flysystem-aws-s3-v3": "~1.0",
|
"league/flysystem-aws-s3-v3": "~1.0"
|
||||||
"predis/predis": "^1.1"
|
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue