预编译二进制文件

This commit is contained in:
7IN0SAN9
2016-01-28 17:18:33 +08:00
parent 5ce4d60575
commit dea723e1ee
8 changed files with 4 additions and 18 deletions

BIN
tests/extensions/5.4/apcu.so Executable file

Binary file not shown.

BIN
tests/extensions/5.5/apcu.so Executable file

Binary file not shown.

BIN
tests/extensions/5.6/apcu.so Executable file

Binary file not shown.

BIN
tests/extensions/7.0/apc.so Executable file

Binary file not shown.

BIN
tests/extensions/7.0/apcu.so Executable file

Binary file not shown.

BIN
tests/extensions/7.0/memcached.so Executable file

Binary file not shown.

BIN
tests/extensions/7.0/redis.so Executable file

Binary file not shown.

View File

@@ -1,30 +1,16 @@
#!/bin/bash
if [ $(phpenv version-name) != "hhvm" ]; then
pecl channel-update pecl.php.net
pear config-set php_ini ''
pecl config-set php_ini ''
cp thinkphp/tests/extensions/$(phpenv version-name)/*.so $(php-config --extension-dir)
if [ $(phpenv version-name) = "7.0" ]; then
echo "yes\nno\n" | pecl install apcu-5.1.2
pecl install apcu_bc-beta
phpenv config-add thinkphp/tests/conf/apcu_bc.ini
wget -O phpredis-php7.tar.gz https://github.com/phpredis/phpredis/archive/php7.tar.gz
tar -xzvf phpredis-php7.tar.gz
cd phpredis-php7 && phpize && ./configure && make && sudo make install
wget -O memcached-php7.tar.gz https://github.com/php-memcached-dev/php-memcached/archive/php7.zip
tar -xzvf memcached-php7.tar.gz
cd php-memcached-php7 && phpize && ./configure && make && sudo make install
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/memcached.ini
phpenv config-add thinkphp/tests/conf/redis.ini
fi
phpenv config-add thinkphp/tests/conf/memcached.ini
phpenv config-add thinkphp/tests/conf/redis.ini
composer install --no-interaction --ignore-platform-reqs