From 236b7ae8493d54f7586e4815343299688cc49e6a Mon Sep 17 00:00:00 2001 From: Kosta Harlan Date: Thu, 8 Nov 2018 08:43:23 -0500 Subject: [PATCH] Use Travis CI cache and reduce clone depth to speed up setup time Bug: T209056 Change-Id: Id4bb37e48f0023cdf2bf99a022ceb870602aaaa5 --- .travis.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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: -- 2.20.1