From 31d1edda9fd3aeb6b125b9f7f83cfe6b4c77fc80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 26 Mar 2014 15:43:48 +0100 Subject: [PATCH] We don't need full git history of runkit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- .travis.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3ff04b0c60..4480216334 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,17 +22,30 @@ before_install: before_script: - if [[ -z "$LINT" ]] ; then if [[ $TRAVIS_PHP_VERSION != "hhvm" ]] ; then - git clone git://github.com/zenovich/runkit.git && cd runkit && phpize && ./configure && make && make install && cd .. ; + + git clone --depth=1 git://github.com/zenovich/runkit.git ; + cd runkit ; + phpize ; + ./configure ; + make ; + make install ; + cd .. ; + phpenv config-add test/travis.php.ini ; + pear channel-discover pear.phpunit.de ; pear install phpunit/PHPUnit_Selenium ; + fi ; composer install --dev --no-interaction ; + if [[ ! -z "$SELENIUM" ]] ; then + php --server 127.0.0.1:$TRAVIS_BUILD_NUMBER & wget https://www.browserstack.com/browserstack-local/BrowserStackLocal-linux-x64.zip ; unzip BrowserStackLocal-linux-x64.zip ; ./BrowserStackLocal -onlyAutomate "$TESTSUITE_BROWSERSTACK_KEY" 127.0.0.1,$TRAVIS_BUILD_NUMBER,0 & + fi ; fi script: