From b508ed96f76b2bcd35aad0e99a64c7513a24a4dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 25 Jan 2016 09:40:28 +0100 Subject: [PATCH] Revert "Use pecl to install runkit" This reverts commit 1810ae632c265d56100837afddde09ed5c5c99ee. This shouldn't yet go to master... --- .travis.yml | 2 +- test/install-runkit | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100755 test/install-runkit diff --git a/.travis.yml b/.travis.yml index 2b16c0ceff..be56ded976 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,7 +29,7 @@ before_script: - mysql -uroot -e "SET PASSWORD = PASSWORD('$TESTSUITE_PASSWORD')" - composer install --dev --no-interaction - pip install --user codecov - - if [ $TRAVIS_PHP_VERSION != "hhvm" ] ; then pecl install runkit ; fi + - if [ $TRAVIS_PHP_VERSION != "hhvm" ] ; then ./test/install-runkit ; fi - if [ -n "$SELENIUM" ] ; then ./test/install-browserstack ; fi - if [ -n "$SELENIUM" ] ; then php --server 127.0.0.1:8000 > php.log & fi - if [ -n "$SELENIUM" ] ; then ~/browserstack/BrowserStackLocal -localIdentifier "travis-$TRAVIS_JOB_NUMBER" -onlyAutomate "$TESTSUITE_BROWSERSTACK_KEY" 127.0.0.1,8000,0 & fi diff --git a/test/install-runkit b/test/install-runkit new file mode 100755 index 0000000000..78d5deaa05 --- /dev/null +++ b/test/install-runkit @@ -0,0 +1,21 @@ +#!/bin/bash + +if [ $TRAVIS_PHP_VERSION = "nightly" -o $TRAVIS_PHP_VERSION = "7.0" ] ; then + exit 0 +fi + + +set -e + +git clone --depth=100 git://github.com/zenovich/runkit.git + +pushd runkit +git checkout c337393762d54cf6df305cf8e92dac3a162157f4 + +phpize +./configure +make +make install +popd + +phpenv config-add test/travis.php.ini