diff --git a/test/install-runkit b/test/install-runkit index 8c13ecc0dc..4789479b61 100755 --- a/test/install-runkit +++ b/test/install-runkit @@ -2,16 +2,12 @@ set -e -mkdir -p ~/runkit -if [ ! -d ~/runkit/runkit/.git ] ; then - if [ $TRAVIS_PHP_VERSION = "5.6" ] ; then - git clone --depth=1 git://github.com/adrianguenter/runkit.git ~/runkit/runkit - else - git clone --depth=1 git://github.com/zenovich/runkit.git ~/runkit/runkit - fi +if [ $TRAVIS_PHP_VERSION = "5.6" ] ; then + git clone --depth=1 git://github.com/adrianguenter/runkit.git +else + git clone --depth=1 git://github.com/zenovich/runkit.git fi -pushd ~/runkit/runkit -git pull +pushd runkit phpize ./configure make