Re: [PATCH 1/2] travis-ci: don't try to create the cache directory unnecessarily
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Dec 27, 2017, 19:46 UTC
- Message-ID
- <20171227194601.GA181628@aiede.mtv.corp.google.com>
- In-Reply-To
- <20171227164905.13872-2-szeder.dev@gmail.com>
SZEDER Gábor wrote:
Show 11 quoted lines
> Travis CI creates that directory for us anyway, even when a previous > cache doesn't exist for the current build job. > > In itself it doesn't hurt to try, of course, but the following patch > will access the Travis CI cache much earlier in the build process, and > then creating the cache directory this late might cause confusion. > > Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com> > --- > ci/run-tests.sh | 1 - > 1 file changed, 1 deletion(-)
Is this behavior documented anywhere? https://docs.travis-ci.com/user/caching#Arbitrary-directories doesn't say anything about it.
Thanks, Jonathan