From 6173aa9a23c64d308ff3bda7ff872913d65ed460 Mon Sep 17 00:00:00 2001 From: Houssam Haidar Date: Fri, 16 Nov 2018 01:05:44 -0500 Subject: [PATCH] add electron 3 build Ref #344 --- .travis.yml | 3 ++- appveyor.yml | 9 +++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 962607ac..3848e30b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,6 +21,7 @@ env: - NODE_NVM_VERSION="10.8.0" - ELECTRON_VERSION="1.8.7" NODE_NVM_VERSION="8.11.1" - ELECTRON_VERSION="2.0.7" NODE_NVM_VERSION="8.11.1" + - ELECTRON_VERSION="3.0.7" NODE_NVM_VERSION="8.11.1" - MUSL=true NODE_NVM_VERSION="8.11.1" - MUSL=true NODE_NVM_VERSION="9.11.1" - MUSL=true NODE_NVM_VERSION="10.8.0" @@ -55,6 +56,6 @@ install: script: - ./node_modules/.bin/node-pre-gyp package testpackage $EXTRA_NODE_PRE_GYP_FLAGS - npm test -- if [[ "${PUBLISH_BINARY}" == "true" ]]; then ./node_modules/.bin/node-pre-gyp unpublish +- if [[ "${PUBLISH_BINARY}" == "true" ]]; then ./node_modules/.bin/node-pre-gyp unpublish publish $EXTRA_NODE_PRE_GYP_FLAGS; rm -rf {build,binding}; ./node_modules/.bin/node-pre-gyp install $EXTRA_NODE_PRE_GYP_FLAGS; npm test; fi diff --git a/appveyor.yml b/appveyor.yml index 6d8a13f5..6c71e308 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -6,7 +6,7 @@ environment: matrix: - nodejs_version: 4 platform: x64 - msvs_toolset: 12 + msvs_toolset: 12 - nodejs_version: 5 platform: x64 - nodejs_version: 6 @@ -20,6 +20,11 @@ environment: - nodejs_version: 10 platform: x64 # electron + - nodejs_version: 8 + platform: x64 + NODE_RUNTIME: electron + NODE_RUNTIME_VERSION: 3.0.7 + TOOLSET_ARGS: --dist-url=https://atom.io/download/electron - nodejs_version: 8 platform: x64 NODE_RUNTIME: electron @@ -37,4 +42,4 @@ install: build: OFF test: OFF -deploy: OFF \ No newline at end of file +deploy: OFF