aboutsummaryrefslogtreecommitdiff
path: root/lib/convertLcovToCoveralls.js
diff options
context:
space:
mode:
authorEthan Langevin <[email protected]>2015-07-14 17:29:33 -0400
committerEthan Langevin <[email protected]>2015-07-14 17:32:03 -0400
commit4344c189726451016e86627a0c11620ce420cdaf (patch)
tree637cf9d9c852cb245519e1048ad331bc33ed2109 /lib/convertLcovToCoveralls.js
parent64653c6df1d63065b0fb0b4984ac4c88f809b068 (diff)
downloadnode-coveralls-4344c189726451016e86627a0c11620ce420cdaf.tar.xz
node-coveralls-4344c189726451016e86627a0c11620ce420cdaf.zip
Pass CI_PULL_REQUEST through to coveralls if it is set
Diffstat (limited to 'lib/convertLcovToCoveralls.js')
-rw-r--r--lib/convertLcovToCoveralls.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/convertLcovToCoveralls.js b/lib/convertLcovToCoveralls.js
index 3f604e1..8b89f26 100644
--- a/lib/convertLcovToCoveralls.js
+++ b/lib/convertLcovToCoveralls.js
@@ -51,6 +51,9 @@ var convertLcovToCoveralls = function(input, options, cb){
if (options.repo_token) {
postJson.repo_token = options.repo_token;
}
+ if (options.service_pull_request) {
+ postJson.service_pull_request = options.service_pull_request;
+ }
parsed.forEach(function(file){
postJson.source_files.push(convertLcovFileObject(file, filepath));
});