Skip to content

Commit

Permalink
Wire up the code
Browse files Browse the repository at this point in the history
  • Loading branch information
anaisbetts committed Aug 17, 2016
1 parent 377b8a7 commit 2f636d2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/getOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2f636d2

Please sign in to comment.