Use pecl to install runkit

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2016-01-25 08:15:31 +01:00
parent 644a306097
commit 1810ae632c
2 changed files with 1 additions and 22 deletions

View File

@ -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 ./test/install-runkit ; fi
- if [ $TRAVIS_PHP_VERSION != "hhvm" ] ; then pecl 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

View File

@ -1,21 +0,0 @@
#!/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