runkit: Provide alternative repository for PHP 5.6.

This commit is contained in:
Andreas Fischer 2014-09-04 22:47:48 +02:00
parent 7b665a18a1
commit 3fc86d641c

View File

@ -20,9 +20,11 @@ function install_php_extension
echo "extension=$1.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"` echo "extension=$1.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
} }
if [ "$TRAVIS_PHP_VERSION" != "5.6" ] # runkit
if [ "$TRAVIS_PHP_VERSION" == "5.6" ]
then then
# runkit git clone https://github.com/adrianguenter/runkit.git
else
git clone https://github.com/zenovich/runkit.git git clone https://github.com/zenovich/runkit.git
install_php_extension 'runkit'
fi fi
install_php_extension 'runkit'