From a15dd29c53172be8c2fd0cf2a69aca6783f5d09f Mon Sep 17 00:00:00 2001 From: Christian Kuster Date: Thu, 7 Apr 2016 13:14:27 +0200 Subject: [PATCH] travis added, package.json fixes --- .travis.yml | 8 ++++++++ package.json | 15 ++++++++++++--- test/netsh.js | 2 +- 3 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..6c7d97c --- /dev/null +++ b/.travis.yml @@ -0,0 +1,8 @@ +language: node_js +branches: + only: + - master + - develop +node_js: + - "4" + - "5" diff --git a/package.json b/package.json index 811e882..ac6693a 100644 --- a/package.json +++ b/package.json @@ -6,14 +6,22 @@ "keywords": [ "WiFi", "Node.js", - "scanner" + "scanner", + "airport", + "netsh", + "iwlist", + "nmcli" ], "author": { "name": "Christian Kuster, CH-8342 Wernetshausen", "email": "info@kusti.ch", "url": "http://www.kusti.ch/" }, - "homepage": "http://www.ferropoly.ch/", + "homepage": "https://github.com/ancasicolica/node-wifi-scanner", + "bugs": { + "url": "https://github.com/ancasicolica/node-wifi-scanner/issues", + "email": "info@ancasicolica.ch" + }, "license": "MIT", "repository": { "type": "git", @@ -31,6 +39,7 @@ }, "devDependencies": { "grunt": "0.4.5", - "grunt-bump": "0.7.0" + "grunt-bump": "0.7.0", + "mocha": "2.2.5" } } diff --git a/test/netsh.js b/test/netsh.js index a7972f8..81b2f73 100644 --- a/test/netsh.js +++ b/test/netsh.js @@ -93,7 +93,7 @@ describe('netsh', function () { netsh.parseOutput(fs.readFileSync(path.join(__dirname, 'fixtures', 'netsh', 'netsh_sp.txt'), {encoding: 'utf8'}), (err, info) => { assert.ok(info); assert.equal(info.length, 8); - console.log(info); + var ap = info[0]; assert.equal(ap.mac, '98:fc:11:b6:88:9e'); assert.equal(ap.ssid, 'CARAMANZANAS_BAJA');