diff options
| author | Nick Merwin <[email protected]> | 2017-02-05 12:33:02 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-02-05 12:33:02 -0800 |
| commit | 87b27f7185c848108caca967bc0ea503a3079cd9 (patch) | |
| tree | 153e81ebf04bf079af326a00f00186b6d2e1c611 /test/getOptions.js | |
| parent | 3edbecb00d10d2a0049aa33ccf10cccf7b726cf2 (diff) | |
| parent | f94b6479d7357fe4602d30fb7cf08939300bac6d (diff) | |
| download | node-coveralls-87b27f7185c848108caca967bc0ea503a3079cd9.tar.xz node-coveralls-87b27f7185c848108caca967bc0ea503a3079cd9.zip | |
Merge pull request #142 from Hirse/feature/travis-pr
Get PR number from TRAVIS
Diffstat (limited to 'test/getOptions.js')
| -rw-r--r-- | test/getOptions.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/getOptions.js b/test/getOptions.js index 3124a83..51e4fa0 100644 --- a/test/getOptions.js +++ b/test/getOptions.js @@ -281,9 +281,11 @@ var testServicePullRequest = function(sut, done){ var testTravisCi = function(sut, done){ process.env.TRAVIS = "TRUE"; process.env.TRAVIS_JOB_ID = "1234"; + process.env.TRAVIS_PULL_REQUEST = "123"; sut(function(err, options){ options.service_name.should.equal("travis-ci"); options.service_job_id.should.equal("1234"); + options.service_pull_request.should.equal("123"); done(); }); }; |
