移动 tests 到 thinkphp 目录

This commit is contained in:
7IN0SAN9
2016-01-19 22:34:27 +08:00
parent c46e8cd7b6
commit 00c101abf6
35 changed files with 2413 additions and 0 deletions

19
tests/script/install.sh Executable file
View 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