From c6121d45bc871c158ef004626a3e9ca8c58610d6 Mon Sep 17 00:00:00 2001 From: Markus Klein <klein.t3@mfc-linz.at> Date: Sat, 6 Jul 2013 20:51:50 +0200 Subject: [PATCH] [TASK] Travis: Speedup cloning of repos Make use of the additional parameters of git clone to vastly reduce the amount of data transfered when cloning the repositories. Releases: 6.2, 6.1, 6.0, 4.7, 4.5 Change-Id: Id0c5f3a4ed7ee0bdeb6053c6e0dc606362909d1e Reviewed-on: https://review.typo3.org/22054 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index d5cedd70484a..2c3658717ea5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ services: before_script: # Install build dependencies - - git clone git://github.com/typo3-ci/TYPO3-Travis-Integration.git build-environment + - git clone --single-branch --branch master --depth 1 git://github.com/typo3-ci/TYPO3-Travis-Integration.git build-environment - source build-environment/install-helper.sh - if [[ "$TRAVIS_PHP_VERSION" != "5.5" ]]; then installPhpModule igbinary; fi - installPhpModule -y memcache @@ -20,9 +20,9 @@ before_script: - if [[ "$TRAVIS_PHP_VERSION" == "5.3" ]]; then installPhpModule -y apc; fi # Install rudimentary TYPO3 - - git clone git://git.typo3.org/TYPO3v4/Distributions/Introduction.git build-environment/Introduction + - git clone --single-branch --branch master --depth 1 git://git.typo3.org/TYPO3v4/Distributions/Introduction.git build-environment/Introduction - mv build-environment/typo3conf . - - git clone git://git.typo3.org/TYPO3v4/Extensions/phpunit.git typo3conf/ext/phpunit/ + - git clone --single-branch --branch master --depth 1 git://git.typo3.org/TYPO3v4/Extensions/phpunit.git typo3conf/ext/phpunit/ - mkdir fileadmin - mkdir uploads - if [[ "$DB" == "mysql" ]]; then mysql -e "DROP DATABASE IF EXISTS typo3_test;" -uroot; fi -- GitLab