diff options
| author | Nick Merwin <[email protected]> | 2016-02-26 11:21:07 -0800 |
|---|---|---|
| committer | Nick Merwin <[email protected]> | 2016-02-26 11:21:07 -0800 |
| commit | 94ccb0e434c0fd029714793f11da336832489d9d (patch) | |
| tree | e6d7c77a50dd14469e35eec745baa031c4e52df3 /lib/getOptions.js | |
| parent | c931ed671d058f28be26b9148f821e1330c7e57c (diff) | |
| download | node-coveralls-94ccb0e434c0fd029714793f11da336832489d9d.tar.xz node-coveralls-94ccb0e434c0fd029714793f11da336832489d9d.zip | |
COVERALLS_PARALLEL env support
Diffstat (limited to 'lib/getOptions.js')
| -rw-r--r-- | lib/getOptions.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/getOptions.js b/lib/getOptions.js index 682920b..e0cb1f0 100644 --- a/lib/getOptions.js +++ b/lib/getOptions.js @@ -90,6 +90,10 @@ var getBaseOptions = function(cb){ } } + if (process.env.COVERALLS_PARALLEL) { + options.parallel = true; + } + // try to get the repo token as an environment variable if (process.env.COVERALLS_REPO_TOKEN) { options.repo_token = process.env.COVERALLS_REPO_TOKEN; |
