From 3e2da6a3869782dc75e96dc1b01acb68b0365185 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Thu, 13 Jul 2017 11:37:26 -0400 Subject: [PATCH] chore: cache electron-builder temporary files in macOS (#1591) Our current Travis CI configuration caches temporary files created by electron-builder, but only for GNU/Linux builds. In macOS, electron and electron-builder store their cache at ~/Library/Caches, so we must cache that as well. This commit was motivated by the fact that most macOS builds are failing for Electron package download timeouts. Signed-off-by: Juan Cruz Viotti --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 30783e37..efc80695 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,8 @@ cache: - $HOME/.cache/electron - $HOME/.cache/electron-builder - $HOME/.npm/_prebuilds + - $HOME/Library/Caches/electron + - $HOME/Library/Caches/electron-builder - node_modules services: