[Pkg-javascript-commits] [node-coveralls] 67/332: add support for CircleCI
Bastien Roucariès
rouca at moszumanska.debian.org
Thu Nov 9 13:53:41 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 e1af2e0a9a6a5404d38955b3324db5889fec63f0
Author: Gabe Hayes <gabriel.hayes at gmail.com>
Date: Wed Jul 24 16:38:39 2013 -0700
add support for CircleCI
---
lib/getOptions.js | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/lib/getOptions.js b/lib/getOptions.js
index d082d70..534b175 100644
--- a/lib/getOptions.js
+++ b/lib/getOptions.js
@@ -33,6 +33,13 @@ var getOptions = function(){
git_branch = process.env.GIT_BRANCH;
}
+ if (process.env.CIRCLECI){
+ options.service_name = 'circle';
+ options.service_job_id = process.env.CIRCLE_BUILD_NUM;
+ git_commit = process.env.CIRCLE_SHA1;
+ git_branch = process.env.CIRCLE_BRANCH;
+ }
+
if (git_commit){
options.git = {
"head": {
--
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