mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 15:02:47 +08:00
移动 tests 到 thinkphp 目录
This commit is contained in:
19
tests/script/install.sh
Executable file
19
tests/script/install.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ $(phpenv version-name) != "hhvm" ]; then
|
||||
pecl channel-update pecl.php.net
|
||||
|
||||
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 tests/conf/apcu_bc.ini
|
||||
else
|
||||
echo "yes\nno\n" | pecl install apcu-4.0.10
|
||||
fi
|
||||
|
||||
phpenv config-add tests/conf/apc.ini
|
||||
fi
|
||||
|
||||
composer install --no-interaction --ignore-platform-reqs
|
||||
Reference in New Issue
Block a user