diff --git a/.travis.yml b/.travis.yml index 43d633d..b139112 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,5 +9,4 @@ services: - docker before_install: - docker run -d -p 10101:10101 pilosa/pilosa:v0.3.2 -script: make test-all - \ No newline at end of file +script: make coveralls diff --git a/Makefile b/Makefile index ea76d3c..7cb9139 100644 --- a/Makefile +++ b/Makefile @@ -21,3 +21,6 @@ test: test-all: npm run test-all + +coveralls: + nyc npm run test-all && nyc report --reporter=text-lcov | coveralls diff --git a/package.json b/package.json index a4c3850..1adc2bd 100644 --- a/package.json +++ b/package.json @@ -28,8 +28,10 @@ "@types/nock": "^8.2.1", "@types/node": "^7.0.8", "chai": "^3.5.0", + "coveralls": "^2.13.1", "cross-env": "^4.0.0", "mocha": "^3.2.0", + "mocha-lcov-reporter": "^1.3.0", "nock": "^9.0.9", "nyc": "^10.1.2", "ts-node": "^2.1.0",