phpmyadmin/test/install-runkit
Michal Čihař 738b35b4ec Avoid runkit installation on PHP 7.2
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-08-01 08:54:42 +02:00

22 lines
317 B
Bash
Executable File

#!/bin/bash
# Do not run as CGI
if [ -n "$GATEWAY_INTERFACE" ] ; then
echo 'Can not invoke as CGI!'
exit 1
fi
# These do not support runkit
case "$TRAVIS_PHP_VERSION" in
hhvm*|7.0|7.1|7.2|nightly)
exit 0
;;
esac
set -e
set -x
pecl install runkit
phpenv config-add test/php-runkit.ini