From: Kosta Harlan Date: Thu, 8 Nov 2018 13:43:23 +0000 (-0500) Subject: Use Travis CI cache and reduce clone depth to speed up setup time X-Git-Tag: 1.34.0-rc.0~3283^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=236b7ae8493d54f7586e4815343299688cc49e6a;p=lhc%2Fweb%2Fwiklou.git Use Travis CI cache and reduce clone depth to speed up setup time Bug: T209056 Change-Id: Id4bb37e48f0023cdf2bf99a022ceb870602aaaa5 --- diff --git a/.travis.yml b/.travis.yml index b28861d4e2..4260c46eaa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,6 +17,18 @@ sudo: false # - Required for non-buggy xml library for XmlTypeCheck/UploadBaseTest (T75176). dist: trusty +git: + depth: 3 + quiet: true + +# Cache NPM and Composer directories +# +cache: + npm: true + directories: + # Composer doesn't have a dedicated cache setting in Travis CI config, so set the directory path instead. + - vendor + matrix: fast_finish: true include: