Authored by ZhouQiqi

fixed test-ci

@@ -2,5 +2,5 @@ language: node_js @@ -2,5 +2,5 @@ language: node_js
2 node_js: 2 node_js:
3 - "4.4.3" 3 - "4.4.3"
4 sudo: false 4 sudo: false
5 -script: "npm run-script test-ci" 5 +script: "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly"
6 after_script: "npm install coveralls@2.10.0 && cat ./coverage/lcov.info | coveralls" 6 after_script: "npm install coveralls@2.10.0 && cat ./coverage/lcov.info | coveralls"
@@ -10,9 +10,7 @@ @@ -10,9 +10,7 @@
10 "description": "A InfluxDB transport for winston by TCP or UDP.", 10 "description": "A InfluxDB transport for winston by TCP or UDP.",
11 "main": "index.js", 11 "main": "index.js",
12 "scripts": { 12 "scripts": {
13 - "test": "mocha --reporter spec",  
14 - "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly",  
15 - "test-cov": "istanbul cover node_modules/mocha/bin/_mocha" 13 + "test": "mocha --reporter spec"
16 }, 14 },
17 "dependencies": { 15 "dependencies": {
18 "winston": "^2.2.0" 16 "winston": "^2.2.0"