diff --git a/.gitignore b/.gitignore index 069a93a..936e71c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules .jsbeautifyrc +.coveralls.yml diff --git a/.travis.yml b/.travis.yml index 96c921b..31916dd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,6 @@ language: node_js node_js: - "4.5.0" + +after_script: NODE_ENV=test istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage + diff --git a/package.json b/package.json index 0095c00..0c09550 100644 --- a/package.json +++ b/package.json @@ -13,9 +13,14 @@ "update": "gapps upload" }, "dependencies": { + }, + "devDependencies": { "chai": "^3.5.0", "mocha": "^2.5.3", - "node-google-apps-script": "^1.1.5" - }, - "devDependencies": {} + "node-google-apps-script": "^1.1.5", + "coveralls": "^2.11.12", + "mocha-lcov-reporter": "^1.2.0", + "sinon": "~1.8.0", + "istanbul": "~0.2.4" + } }