mirror of
https://github.com/cloudreve/Cloudreve.git
synced 2024-04-21 12:31:40 +00:00
19 lines
500 B
Bash
19 lines
500 B
Bash
#!/bin/bash
|
|
|
|
if [ $(phpenv version-name) != "hhvm" ]; then
|
|
cp tests/extensions/$(phpenv version-name)/*.so $(php-config --extension-dir)
|
|
|
|
if [ $(phpenv version-name) = "7.0" ]; then
|
|
phpenv config-add tests/conf/apcu_bc.ini
|
|
else
|
|
phpenv config-add tests/conf/apcu.ini
|
|
fi
|
|
|
|
phpenv config-add tests/conf/memcached.ini
|
|
phpenv config-add tests/conf/redis.ini
|
|
|
|
phpenv config-add tests/conf/timezone.ini
|
|
fi
|
|
|
|
composer install --no-interaction --ignore-platform-reqs
|