diff --git a/.travis.yml b/.travis.yml index de038d2c..93d4eba6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,14 +11,18 @@ language: node_js node_js: - "8" +addons: + homebrew: + packages: + - wine + - p7zip + # https://discourse.brew.sh/t/wine-first-time-configuration-gets-stuck-forever-on-macos/1612 env: global: - ELECTRON_CACHE=$HOME/.cache/electron - ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder - WINEARCH=win32 -# - HOMEBREW_LOGS=/tmp/homebrew-logs # Prevent crash -# - HOMEBREW_TEMP=/tmp/homebrew-temp # Prevent crash cache: yarn: true @@ -26,15 +30,10 @@ cache: - $HOME/.cache/electron - $HOME/.cache/electron-builder - ffmpeg-tmp/archives -# - $HOME/Library/Caches/Homebrew before_cache: - rm -rf $HOME/.cache/electron-builder/wine -before_install: - - brew install wine - - brew install p7zip - script: - | npm run lint &&