[Pkg-javascript-commits] [node-coveralls] 265/332: Wire up the code

Bastien Roucariès rouca at moszumanska.debian.org
Thu Nov 9 13:54:09 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-coveralls.

commit 2f636d2c193e5e35ef2b93f3fc1c46e2c3c97b71
Author: Paul Betts <paul at paulbetts.org>
Date:   Wed Aug 17 13:25:31 2016 -0700

    Wire up the code
---
 lib/getOptions.js | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lib/getOptions.js b/lib/getOptions.js
index e579eee..70420b2 100644
--- a/lib/getOptions.js
+++ b/lib/getOptions.js
@@ -80,6 +80,11 @@ var getBaseOptions = function(cb){
     git_commit = process.env.APPVEYOR_REPO_COMMIT;
     git_branch = process.env.APPVEYOR_REPO_BRANCH;
   }
+  if(process.env.SURF_SHA1){
+    options.service_name = 'surf';
+    git_commit = process.env.SURF_SHA1;
+    git_branch = process.env.SURF_REF;
+  }
   options.run_at = process.env.COVERALLS_RUN_AT || JSON.stringify(new Date()).slice(1, -1);
   if (process.env.COVERALLS_SERVICE_NAME){
     options.service_name = process.env.COVERALLS_SERVICE_NAME;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-coveralls.git



More information about the Pkg-javascript-commits mailing list