add coveralls integration
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,3 +2,4 @@ lib
|
|||||||
node_modules
|
node_modules
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
.nyc_output
|
.nyc_output
|
||||||
|
coverage
|
||||||
|
|||||||
@@ -3,3 +3,4 @@ node_js:
|
|||||||
- "5"
|
- "5"
|
||||||
- "4"
|
- "4"
|
||||||
- "4.3"
|
- "4.3"
|
||||||
|
after_success: npm run coverage
|
||||||
@@ -6,6 +6,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "npm run build && npm run unit",
|
"test": "npm run build && npm run unit",
|
||||||
"unit": "nyc --require babel-core/register mocha test/src/**",
|
"unit": "nyc --require babel-core/register mocha test/src/**",
|
||||||
|
"coverage": "nyc report --reporter=text-lcov | coveralls",
|
||||||
"build": "babel src --out-dir lib",
|
"build": "babel src --out-dir lib",
|
||||||
"prepublish": "in-publish && npm run test || not-in-publish"
|
"prepublish": "in-publish && npm run test || not-in-publish"
|
||||||
},
|
},
|
||||||
@@ -21,6 +22,7 @@
|
|||||||
"babel-eslint": "~4.1.8",
|
"babel-eslint": "~4.1.8",
|
||||||
"babel-plugin-add-module-exports": "~0.1.2",
|
"babel-plugin-add-module-exports": "~0.1.2",
|
||||||
"babel-preset-es2015": "~6.6.0",
|
"babel-preset-es2015": "~6.6.0",
|
||||||
|
"coveralls": "~2.11.9",
|
||||||
"eslint": "~1.10.3",
|
"eslint": "~1.10.3",
|
||||||
"eslint-plugin-mocha": "~1.1.0",
|
"eslint-plugin-mocha": "~1.1.0",
|
||||||
"eslint-plugin-react": "~4.2.3",
|
"eslint-plugin-react": "~4.2.3",
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
[](https://travis-ci.org/w33ble/elastique)
|
[](https://travis-ci.org/w33ble/elastique) [](https://coveralls.io/github/w33ble/elastique?branch=master)
|
||||||
|
|
||||||
# Elasticsearch-powered job queue
|
# Elasticsearch-powered job queue
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user