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 language: node_js
node_js: node_js:
- 7 - 7
@ -15,7 +19,8 @@ script:
- scripts/build-native.js - scripts/build-native.js
- npm run build - npm run build
- scripts/prepackage-plugins.js - 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 sudo: false
@ -23,7 +28,7 @@ addons:
apt: apt:
packages: packages:
- rpm - rpm
deploy: deploy:
provider: releases provider: releases
api_key: $GITHUB_TOKEN api_key: $GITHUB_TOKEN
@ -31,6 +36,8 @@ deploy:
file: file:
- dist/*.deb - dist/*.deb
- dist/*.rpm - dist/*.rpm
- dist/*.tar.gz
- dist/*.dmg
skip_cleanup: true skip_cleanup: true
on: on:
tags: true tags: true

View file

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