mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
调整测试用文件结构
This commit is contained in:
@@ -1 +0,0 @@
|
||||
apc.enable_cli=1
|
||||
3
tests/conf/apcu.ini
Normal file
3
tests/conf/apcu.ini
Normal file
@@ -0,0 +1,3 @@
|
||||
extension=apcu.so
|
||||
|
||||
apc.enable_cli=1
|
||||
@@ -1,2 +1,4 @@
|
||||
extension=apcu.so
|
||||
extension=apc.so
|
||||
|
||||
apc.enable_cli=1
|
||||
|
||||
@@ -3,17 +3,17 @@
|
||||
if [ $(phpenv version-name) != "hhvm" ]; then
|
||||
pecl channel-update pecl.php.net
|
||||
|
||||
pear config-set php_ini ''
|
||||
pecl config-set php_ini ''
|
||||
|
||||
if [ $(phpenv version-name) = "7.0" ]; then
|
||||
pear config-set php_ini ''
|
||||
pecl config-set php_ini ''
|
||||
echo "yes\nno\n" | pecl install apcu-5.1.2
|
||||
pecl install apcu_bc-beta
|
||||
phpenv config-add thinkphp/tests/conf/apcu_bc.ini
|
||||
else
|
||||
echo "yes\nno\n" | pecl install apcu-4.0.10
|
||||
phpenv config-add thinkphp/tests/conf/apcu.ini
|
||||
fi
|
||||
|
||||
phpenv config-add thinkphp/tests/conf/apc.ini
|
||||
fi
|
||||
|
||||
composer install --no-interaction --ignore-platform-reqs
|
||||
|
||||
Reference in New Issue
Block a user