From 3aa3bb3e37513ab49766e31942d61fc58756f50d Mon Sep 17 00:00:00 2001 From: David Sanders Date: Wed, 5 Jun 2019 10:53:58 -0700 Subject: [PATCH 1/2] Node 12 as latest stable version for CI --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6d48d3155..fc154a614 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ services: env: global: - MIN_SUPPORTED_NODEJS_VERSION=6 - - LATEST_STABLE_NODEJS_VERSION=11 + - LATEST_STABLE_NODEJS_VERSION=12 matrix: - BUILD_TASK=test TAG=3.0.0-contrib @@ -46,10 +46,10 @@ env: NODE_MAJOR_VERSION=10 - BUILD_TASK=test TAG=3.4.6-contrib - NODE_MAJOR_VERSION=$LATEST_STABLE_NODEJS_VERSION + NODE_MAJOR_VERSION=11 - BUILD_TASK=test TAG=3.4.6-contrib - NODE_MAJOR_VERSION=12 + NODE_MAJOR_VERSION=$LATEST_STABLE_NODEJS_VERSION before_install: - chmod +x ./ci/$BUILD_TASK/$BUILD_TASK.sh From bc5555d2d5dd3749d57266397b733ed7a8b2dd7a Mon Sep 17 00:00:00 2001 From: David Sanders Date: Wed, 5 Jun 2019 13:26:37 -0700 Subject: [PATCH 2/2] Use all available core for node-gyp build --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 1019eeba8..8d1837d5c 100644 --- a/package.json +++ b/package.json @@ -29,12 +29,12 @@ "main": "./lib/opencv4nodejs.js", "typings": "./lib/index.d.ts", "scripts": { - "install": "node-gyp rebuild", + "install": "node-gyp rebuild --jobs max", "configure": "node-gyp configure", - "build": "node-gyp configure build", - "rebuild": "node-gyp rebuild", + "build": "node-gyp configure build --jobs max", + "rebuild": "node-gyp rebuild --jobs max", "clean": "node-gyp clean", - "build-debug": "node-gyp rebuild --debug" + "build-debug": "node-gyp rebuild --debug --jobs max" }, "gypfile": true, "dependencies": {