This commit is contained in:
Eugene Pankov 2017-06-24 14:41:30 +02:00
parent b87f9a8ca2
commit 80fb79b31e
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,7 @@
os:
- linux
- osx
language: node_js
node_js:
- 7
@ -15,7 +19,8 @@ script:
- scripts/build-native.js
- npm run build
- scripts/prepackage-plugins.js
- scripts/build-linux.js
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then scripts/build-linux.js; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then scripts/build-macos.js; fi
sudo: false
@ -23,7 +28,7 @@ addons:
apt:
packages:
- rpm
deploy:
provider: releases
api_key: $GITHUB_TOKEN
@ -31,6 +36,8 @@ deploy:
file:
- dist/*.deb
- dist/*.rpm
- dist/*.tar.gz
- dist/*.dmg
skip_cleanup: true
on:
tags: true

View File

@ -4,7 +4,7 @@ platform:
- x64
environment:
nodejs_version: "7"
nodejs_version: "8"
cache:
- '%USERPROFILE%\.electron'