diff options
| author | roman01la <[email protected]> | 2014-03-27 13:04:01 +0200 |
|---|---|---|
| committer | roman01la <[email protected]> | 2014-03-27 13:04:01 +0200 |
| commit | 13b5aab51707bc0ee990b0ba149a290e0291a83a (patch) | |
| tree | a6b220cf7e743643ed0a2e0a003c7121561350f8 | |
| parent | 3e55f51c37fd338d3b6663292208dc435f21db4e (diff) | |
| download | node-coveralls-13b5aab51707bc0ee990b0ba149a290e0291a83a.tar.xz node-coveralls-13b5aab51707bc0ee990b0ba149a290e0291a83a.zip | |
add Travis commit & branch info
| -rw-r--r-- | lib/getOptions.js | 2 |
1 files changed, 2 insertions, 0 deletions
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){ |
