[TASK] Fix travis builds 66/26366/2
authorGeorg Ringer <georg.ringer@gmail.com>
Fri, 13 Dec 2013 05:33:01 +0000 (06:33 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Fri, 13 Dec 2013 05:34:24 +0000 (06:34 +0100)
Due some regressions on side of travis
(https://github.com/travis-ci/travis-ci/issues/1710) an older git version
is used which doesn't support things like "--single-branch".

To avoid this, git is updated to latest version on the build server before
starting cloning

Change-Id: Ic5f698e84f378b9fed6bd64398b8058a20be860e
Resolves: #54369
Releases: 6.2
Reviewed-on: https://review.typo3.org/26366
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
.travis.yml

index a2b2d26..eedc832 100644 (file)
@@ -14,6 +14,7 @@ services:
   - memcached
 
 before_script:
+  - sudo apt-get update && sudo apt-get install git
   - 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