coveralls test

This commit is contained in:
sanex3339
2016-06-22 21:39:25 +03:00
parent 16a7caa984
commit 9ff887d897
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -4,4 +4,5 @@ node_js:
- "stable"
after_success:
- npm run test:coveralls
- rm -rf ./coverage
+3 -1
View File
@@ -24,6 +24,7 @@
"babel-polyfill": "^6.9.1",
"babel-preset-es2015": "^6.9.0",
"chai": "^3.5.0",
"coveralls": "^2.11.9",
"istanbul": "^1.0.0-alpha.2",
"lite-server": "^1.3.1",
"mocha": "^2.5.3",
@@ -47,7 +48,8 @@
"test:compile": "node_modules/.bin/tsc -p tsconfig-test.json",
"test:dev": "node test/dev/test.js",
"test:full": "npm run test:compile && node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- test-tmp/test/**/**.spec.js && npm run test:removeTestTmpDir",
"test:mocha": "npm run test:compile && node_modules/.bin/mocha test-tmp/test/**/**.spec.js && npm run test:removeTestTmpDir",
"test:coveralls": "npm run test:compile && node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- test-tmp/test/**/**.spec.js --report lcovonly && cat ./coverage/lcov.info | coveralls && npm run test:removeTestTmpDir",
"test:mocha": "npm run test:compile && node_modules/.bin/mocha test-tmp/test/**/**.spec.js && npm run test:removeTestTmpDir",
"test:removeTestTmpDir": "rm -rf test-tmp",
"test": "npm run test:dev && npm run test:full",
"typings": "node_modules/.bin/typings install"