Skip to content
Snippets Groups Projects
Commit c6121d45 authored by Markus Klein's avatar Markus Klein Committed by Wouter Wolters
Browse files

[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
parent 34e9b71d
No related merge requests found
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment