travis 17

This commit is contained in:
Cutls 2019-05-27 02:21:40 +09:00
parent 37e9d8242b
commit 7a1a6354df

View File

@ -9,7 +9,7 @@ script: node -v
before_deploy:
- npm install electron-builder -g
- cd app
- if [ "$TRAVIS_OS_NAME" = "windows" ];then VERSION=$(sed -nE 's/^\s*"version": "(.*?)",$/\1/p' package.json);else :;fi
- VERSION=$(sed -nE 's/^\s*"version": "(.*?)",$/\1/p' package.json)
- npm install
- if [ "$TRAVIS_OS_NAME" = "osx" ];then electron-builder --mac -p never;else :;fi
- if [ "$TRAVIS_OS_NAME" = "linux" ];then electron-builder --linux --x64 -p never;else :;fi