coffee-coverage
Advanced tools
Comparing version 0.5.2 to 0.5.3
# coffee-coverage Changelog | ||
### v0.5.3 | ||
- [#42: Fix the 0% coverage for files that are never loaded](https://github.com/benbria/coffee-coverage/pull/42) | ||
### v0.5.2 | ||
@@ -4,0 +7,0 @@ - Fix weird corner case if statement. |
@@ -33,4 +33,10 @@ Codeship and Coveralls | ||
In Codeship, in your project settings, in the "Test" tab, set your "Test Pipeline" to: | ||
In Codeship, in your project settings, in the "Environment" tab, set up your Coveralls | ||
credentials: | ||
COVERALLS_SERVICE_NAME = codeship | ||
COVERALLS_REPO_TOKEN = [your secret token here] | ||
In the "Test" tab, set your "Test Pipeline" to: | ||
# Build project. Set this to whatever you use to build: | ||
@@ -43,7 +49,3 @@ npm run prepublish | ||
# Upload results to coveralls.io | ||
export COVERALLS_SERVICE_NAME=codeship | ||
export COVERALLS_SERVICE_JOB_ID=${CI_BUILD_NUMBER} | ||
export COVERALLS_REPO_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | ||
cat ./coverage/lcov.info | ./node_modules/.bin/coveralls | ||
(be sure to set COVERALLS_REPO_TOKEN to your secret token, above.) |
@@ -64,3 +64,3 @@ // Generated by CoffeeScript 1.7.1 | ||
options.initFileStream = new StringStream(); | ||
coverage.instrumentDirectory(options.basePath, null); | ||
coverage.instrumentDirectory(options.basePath, null, options); | ||
eval(options.initFileStream.data); | ||
@@ -67,0 +67,0 @@ } |
@@ -15,3 +15,3 @@ { | ||
], | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"author": "Benbria (http://www.benbria.com/)", | ||
@@ -18,0 +18,0 @@ "contributors": [ |
95288