diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..c656b3b --- /dev/null +++ b/.travis.yml @@ -0,0 +1,10 @@ +language: node_js + +os: + - osx + - windows + - linux + +node_js: + - 8 + - 10 diff --git a/README.md b/README.md index ba32960..ad80fe3 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,13 @@ # prebuildify -Create and package prebuilds for native modules +> Create and package prebuilds for native modules ``` npm install -g prebuildify ``` +[![Build Status](https://travis-ci.org/prebuild/prebuildify.svg?branch=master)](https://travis-ci.org/prebuild/prebuildify) + ## Usage First go to your native module and make a bunch of prebuilds diff --git a/bin.js b/bin.js index 1b44b8b..2702ec3 100755 --- a/bin.js +++ b/bin.js @@ -27,7 +27,7 @@ if (argv.all) { if (argv.napi && targets.length === 0) { targets = [ abi.supportedTargets.filter(onlyNode).pop(), - abi.supportedTargets.filter(onlyElectron).pop(), + abi.supportedTargets.filter(onlyElectron).pop() ] if (targets[0].target === '9.0.0') targets[0].target = '9.6.1' diff --git a/index.js b/index.js index 3d3171b..1f774ee 100644 --- a/index.js +++ b/index.js @@ -175,7 +175,7 @@ function strip (file, opts, cb) { var args = opts.platform === 'darwin' ? [file, '-Sx'] : [file, '--strip-all'] var stripBin = process.env.STRIP || 'strip' - var child = proc.spawn(stripBin, args, { stdio: 'ignore'}) + var child = proc.spawn(stripBin, args, {stdio: 'ignore'}) child.on('exit', function (code) { if (code) return cb(spawnError('strip', code))