mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-26 02:47:17 +00:00
Add code coverage metrics
This commit is contained in:
parent
ac8ff36a2e
commit
f707fbbaef
6 changed files with 10 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -7,3 +7,4 @@ npm-debug.log
|
|||
gyp-mac-tool
|
||||
.node_pre_gyprc
|
||||
/.idea
|
||||
.nyc_output
|
||||
|
|
|
|||
|
|
@ -20,3 +20,4 @@ npm-debug.log
|
|||
gyp-mac-tool
|
||||
.node_pre_gyprc
|
||||
/.idea
|
||||
.nyc_output
|
||||
|
|
|
|||
|
|
@ -73,6 +73,7 @@ install:
|
|||
|
||||
script:
|
||||
# test our module
|
||||
- npm run lint
|
||||
- node ./
|
||||
- npm test
|
||||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
[](https://ci.appveyor.com/project/j5js/node-serialport/branch/master)
|
||||
[](https://gitter.im/EmergingTechnologyAdvisors/node-serialport)
|
||||
[](https://david-dm.org/EmergingTechnologyAdvisors/node-serialport)
|
||||
[](https://coveralls.io/github/EmergingTechnologyAdvisors/node-serialport?branch=master)
|
||||
|
||||
For support you can open a [github issue](https://github.com/EmergingTechnologyAdvisors/node-serialport/issues/new), for discussions, designs, and clarifications, we recommend you join our [Gitter Chat room](https://gitter.im/EmergingTechnologyAdvisors/node-serialport). We have two related projects [Browser Serialport](https://github.com/garrows/browser-serialport) "just like Node Serialport but for browser apps", and [Serialport Test Piliot](https://github.com/j5js/serialport-test-pilot) which helps us test serialport.
|
||||
|
||||
|
|
|
|||
|
|
@ -67,6 +67,7 @@ build_script:
|
|||
- npm install --build-from-source --msvs_version=2013
|
||||
|
||||
test_script:
|
||||
- npm run lint
|
||||
- node ./
|
||||
- npm test
|
||||
- IF %PUBLISH_BINARY% == 1 (node-pre-gyp package 2>&1)
|
||||
|
|
|
|||
|
|
@ -63,6 +63,7 @@
|
|||
"devDependencies": {
|
||||
"chai": "^3.5.0",
|
||||
"chai-subset": "^1.2.2",
|
||||
"coveralls": "^2.11.9",
|
||||
"eslint-config-standard": "^5.1.0",
|
||||
"eslint-plugin-promise": "^1.1.0",
|
||||
"eslint-plugin-standard": "^1.3.2",
|
||||
|
|
@ -71,6 +72,7 @@
|
|||
"gruntify-eslint": "^2.0.0",
|
||||
"mocha": "^2.4.5",
|
||||
"node-pre-gyp-github": "^1.1.2",
|
||||
"nyc": "^6.4.4",
|
||||
"sandboxed-module": "^2.0.3",
|
||||
"sinon": "^1.17.3",
|
||||
"sinon-chai": "^2.8.0",
|
||||
|
|
@ -94,7 +96,9 @@
|
|||
"stress": "mocha --no-timeouts test/arduinoTest/stress.js",
|
||||
"integration": "mocha test/arduinoTest/integration.js test/integration-lite.js",
|
||||
"grunt": "grunt",
|
||||
"test": "grunt --verbose",
|
||||
"lint": "grunt --verbose lint",
|
||||
"test": "nyc grunt --verbose test",
|
||||
"coverage": "nyc report --reporter=text-lcov | coveralls",
|
||||
"valgrind": "valgrind --leak-check=full --show-possibly-lost=no node --expose-gc --trace-gc node_modules/.bin/grunt test"
|
||||
},
|
||||
"gypfile": true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue