diff --git a/.travis.yml b/.travis.yml index b0d9053..8516131 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,3 +5,5 @@ node_js: - "8" before_script: - npm install -g eslint +after_success: + - npm run coverage diff --git a/package.json b/package.json index 103fc75..38db4dc 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "main": "index.js", "scripts": { "test": "eslint '.' && nyc --reporter=html --reporter=text mocha", - "lint": "eslint '.'" + "lint": "eslint '.'", + "coverage": "nyc report --reporter=text-lcov | coveralls" }, "keywords": [ "gics", @@ -21,11 +22,10 @@ "devDependencies": { "chai": "^4.1.0", "chai-things": "^0.2.0", + "coveralls": "^2.13.1", "csv-parse": "^1.2.0", "mocha": "^3.4.2", "nyc": "^11.0.3" }, - "dependencies": { - - } + "dependencies": {} }