Travis: fix MacOS build

This commit is contained in:
TC
2020-03-14 17:02:58 +01:00
parent 8c19757dfc
commit 234954a86c
2 changed files with 5 additions and 2 deletions

1
.npmrc
View File

@ -1 +1,2 @@
engine-strict=true
scripts-prepend-node-path=true

View File

@ -13,8 +13,8 @@ matrix:
language: generic
cache:
yarn: false
directories:
- node_modules
- $HOME/.cache/electron
- $HOME/.cache/electron-builder
@ -33,10 +33,12 @@ script:
electronuserland/builder:10 \
/bin/bash -c "yarn && npm run release:linux"
else
yarn && npm run release:mac
npm run release:mac
fi
before_cache:
- rm -rf $HOME/.cache/electron-builder
before_install:
- rm -rf node_modules
branches:
except: