This commit is contained in:
Eugene Pankov 2017-06-24 18:23:52 +02:00
parent 434199c108
commit cedb0d50f6

View file

@ -2,9 +2,17 @@ os:
- linux - linux
- osx - osx
matrix:
include:
- os: linux
env: BUILD_FOR=windows
- os: linux
env: BUILD_FOR=linux
- os: osx
env: BUILD_FOR=macos
language: node_js language: node_js
node_js: node_js: 7
- 7
cache: cache:
directories: directories:
@ -19,8 +27,7 @@ script:
- scripts/build-native.js - scripts/build-native.js
- npm run build - npm run build
- scripts/prepackage-plugins.js - scripts/prepackage-plugins.js
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then scripts/build-linux.js; fi - scripts/build-$BUILD_FOR.js
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then scripts/build-macos.js; fi
sudo: false sudo: false