Skip to content

Commit a17fd37

Browse files
committed
Fix travis homebrew
1 parent d45330a commit a17fd37

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ matrix:
99
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
1010
addons:
1111
homebrew:
12+
update: true
1213
packages:
1314
- wine
1415
- snapcraft
@@ -18,6 +19,7 @@ cache:
1819
- node_modules
1920
- $HOME/.cache/electron
2021
- $HOME/.cache/electron-builder
22+
- $HOME/Library/Caches/Homebrew
2123

2224
script:
2325
- yarn install
@@ -33,6 +35,7 @@ script:
3335

3436
before_cache:
3537
- rm -rf $HOME/.cache/electron-builder/wine
38+
- brew cleanup
3639

3740
before_deploy:
3841
- echo '<!DOCTYPE html><html><head><meta charset=utf-8><title>Apla</title><script type="text/javascript">var segmentCount=0;var l=window.location;l.replace(l.protocol+"//"+l.hostname+(l.port?":"+l.port:"")+l.pathname.split("/").slice(0,1+segmentCount).join("/")+"/?p=/"+l.pathname.slice(1).split("/").slice(segmentCount).join("/").replace(/&/g,"~and~")+(l.search?"&q="+l.search.slice(1).replace(/&/g,"~and~"):"")+l.hash);</script></head><body></body></html>' > ./build/404.html

0 commit comments

Comments
 (0)