[Pkg-javascript-commits] [node-coveralls] 153/332: add Travis commit & branch info

Bastien Roucariès rouca at moszumanska.debian.org
Thu Nov 9 13:53:54 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 13b5aab51707bc0ee990b0ba149a290e0291a83a
Author: roman01la <roman01la at romanliutikov.com>
Date:   Thu Mar 27 13:04:01 2014 +0200

    add Travis commit & branch info
---
 lib/getOptions.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/getOptions.js b/lib/getOptions.js
index 68016aa..bd4a83c 100644
--- a/lib/getOptions.js
+++ b/lib/getOptions.js
@@ -12,6 +12,8 @@ var getBaseOptions = function(cb){
   if (process.env.TRAVIS){
     options.service_name = 'travis-ci';
     options.service_job_id = process.env.TRAVIS_JOB_ID;
+    git_commit = process.env.TRAVIS_COMMIT;
+    git_branch = process.env.TRAVIS_BRANCH;
   }
 
   if (process.env.DRONE){

-- 
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