{"_id":"travis-ci","_rev":"150016","name":"travis-ci","description":"node library to access the Travis-CI API","dist-tags":{"2.0.0":"2.0.0","canary":"1.1.2","latest":"2.2.0"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"time":{"modified":"2021-06-03T11:31:53.000Z","created":"2013-07-13T00:58:52.267Z","2.2.0":"2018-08-11T20:56:43.452Z","2.1.1":"2016-09-02T05:18:08.709Z","2.1.0":"2015-12-27T07:09:37.996Z","2.0.3":"2014-11-04T15:41:56.865Z","2.0.2":"2014-11-04T06:39:02.634Z","2.0.1":"2014-10-24T08:40:41.556Z","2.0.0":"2014-10-24T08:11:39.809Z","1.1.2":"2014-10-24T08:09:01.856Z","1.2.0":"2014-01-10T07:45:25.203Z","1.1.1":"2013-10-30T23:45:48.524Z","1.1.0":"2013-10-30T21:50:13.087Z","1.0.1":"2013-08-19T20:16:43.771Z","1.0.0":"2013-07-30T16:56:45.192Z","0.1.4":"2013-07-25T17:17:12.674Z","0.1.3":"2013-07-24T17:29:45.288Z","0.1.2":"2013-07-18T01:06:51.524Z","0.1.1":"2013-07-17T23:11:56.819Z","0.1.0":"2013-07-16T19:05:56.810Z","0.0.1":"2013-07-13T00:58:52.267Z"},"users":{"parroit":true,"hirle":true,"alexbaumgertner":true,"tangchr":true,"cedx":true,"aquafadas":true,"rochejul":true,"xinwangwang":true,"tsxuehu":true,"heineiuo":true,"leonardorb":true,"tdmalone":true},"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"versions":{"2.2.0":{"name":"travis-ci","version":"2.2.0","description":"node library to access the Travis-CI API","main":"lib/travis-ci","bin":{"travis-ci":"./bin/travis-ci.js"},"repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"github":"~0.1.10","lodash":"~1.3.1","request":"^2.87.0","underscore.string":"~2.2.0rc"},"devDependencies":{"grunt":"~0.4.1","grunt-cli":"~0.1.9","grunt-contrib-jshint":"~0.10.0","grunt-env":"~0.4.0","grunt-mocha-test":"~0.5.0","grunt-release":"~0.7.0","matchdep":"~0.1.2","mocha":"~1.12.0","q":"~1.0.0","should":"~1.2.2"},"scripts":{"test":"mocha --recursive test"},"gitHead":"75204638777ae5f0fba6ba889f4b085277ae21b9","_id":"travis-ci@2.2.0","_npmVersion":"6.2.0","_nodeVersion":"10.8.0","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"shasum":"0efdfdc1c2572a1294f2637c6a55a3394697604e","size":10636,"noattachment":false,"key":"/travis-ci/-/travis-ci-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-ci/download/travis-ci-2.2.0.tgz"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/travis-ci_2.2.0_1534021003325_0.6694791443100621"},"_hasShrinkwrap":false,"publish_time":1534021003452,"_cnpm_publish_time":1534021003452},"2.1.1":{"name":"travis-ci","version":"2.1.1","description":"node library to access the Travis-CI API","main":"lib/travis-ci","bin":{"travis-ci":"./bin/travis-ci.js"},"repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"github":"~0.1.10","lodash":"~1.3.1","request":"~2.74.0","underscore.string":"~2.2.0rc"},"devDependencies":{"grunt":"~0.4.1","grunt-cli":"~0.1.9","grunt-contrib-jshint":"~0.10.0","grunt-env":"~0.4.0","grunt-mocha-test":"~0.5.0","grunt-release":"~0.7.0","matchdep":"~0.1.2","mocha":"~1.12.0","q":"~1.0.0","should":"~1.2.2"},"scripts":{"test":"mocha --recursive test"},"gitHead":"490b3b041b399733600c715d8f6d931694e42a29","_id":"travis-ci@2.1.1","_shasum":"98696265af827ae3576f31aa06d876e74b4b082e","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"shasum":"98696265af827ae3576f31aa06d876e74b4b082e","size":10599,"noattachment":false,"key":"/travis-ci/-/travis-ci-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-ci/download/travis-ci-2.1.1.tgz"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/travis-ci-2.1.1.tgz_1472793485387_0.8006377501878887"},"directories":{},"publish_time":1472793488709,"_cnpm_publish_time":1472793488709,"_hasShrinkwrap":false},"2.1.0":{"name":"travis-ci","version":"2.1.0","description":"node library to access the Travis-CI API","main":"lib/travis-ci","bin":{"travis-ci":"./bin/travis-ci.js"},"repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"github":"~0.1.10","lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc"},"devDependencies":{"grunt":"~0.4.1","grunt-cli":"~0.1.9","grunt-contrib-jshint":"~0.10.0","grunt-env":"~0.4.0","grunt-mocha-test":"~0.5.0","grunt-release":"~0.7.0","matchdep":"~0.1.2","mocha":"~1.12.0","q":"~1.0.0","should":"~1.2.2"},"gitHead":"335fed5ce7c1f841aa6dc838b3726fbf4faec189","_id":"travis-ci@2.1.0","scripts":{},"_shasum":"949b8249f157329430baa1b20f151044cf1936df","_from":".","_npmVersion":"3.5.2","_nodeVersion":"4.2.2","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"dist":{"shasum":"949b8249f157329430baa1b20f151044cf1936df","size":10565,"noattachment":false,"key":"/travis-ci/-/travis-ci-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-ci/download/travis-ci-2.1.0.tgz"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"directories":{},"publish_time":1451200177996,"_cnpm_publish_time":1451200177996,"_hasShrinkwrap":false},"2.0.3":{"name":"travis-ci","version":"2.0.3","description":"node library to access the Travis-CI API","main":"lib/travis-ci","bin":{"travis-ci":"./bin/travis-ci.js"},"repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"github":"~0.1.10","lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc"},"devDependencies":{"grunt":"~0.4.1","grunt-cli":"~0.1.9","grunt-contrib-jshint":"~0.10.0","grunt-env":"~0.4.0","grunt-mocha-test":"~0.5.0","grunt-release":"~0.7.0","matchdep":"~0.1.2","mocha":"~1.12.0","q":"~1.0.0","should":"~1.2.2"},"gitHead":"9fd5869d3195e96d19d605a0ff9a97d5706dd470","_id":"travis-ci@2.0.3","scripts":{},"_shasum":"5654c004f354a027565a0349c9c53da3c2e4efd1","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"dist":{"shasum":"5654c004f354a027565a0349c9c53da3c2e4efd1","size":10478,"noattachment":false,"key":"/travis-ci/-/travis-ci-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-ci/download/travis-ci-2.0.3.tgz"},"directories":{},"publish_time":1415115716865,"_cnpm_publish_time":1415115716865,"_hasShrinkwrap":false},"2.0.2":{"name":"travis-ci","version":"2.0.2","description":"node library to access the Travis-CI API","main":"lib/travis-ci","bin":{"travis-ci":"./bin/travis-ci.js"},"repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"github":"~0.1.10","lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc"},"devDependencies":{"grunt":"~0.4.1","grunt-cli":"~0.1.9","grunt-contrib-jshint":"~0.10.0","grunt-env":"~0.4.0","grunt-mocha-test":"~0.5.0","grunt-release":"~0.7.0","matchdep":"~0.1.2","mocha":"~1.12.0","q":"~1.0.0","should":"~1.2.2"},"gitHead":"38c472764a6882e2d336c76847ad5a3d46c51516","_id":"travis-ci@2.0.2","scripts":{},"_shasum":"23671242e022ba23c9d39f2b4262d08e0a5ba14f","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"dist":{"shasum":"23671242e022ba23c9d39f2b4262d08e0a5ba14f","size":10432,"noattachment":false,"key":"/travis-ci/-/travis-ci-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-ci/download/travis-ci-2.0.2.tgz"},"directories":{},"publish_time":1415083142634,"_cnpm_publish_time":1415083142634,"_hasShrinkwrap":false},"2.0.1":{"name":"travis-ci","version":"2.0.1","description":"node library to access the Travis-CI API","main":"lib/travis-ci","bin":{"travis-ci":"./bin/travis-ci.js"},"repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc","github":"~0.1.10"},"devDependencies":{"grunt":"~0.4.1","grunt-cli":"~0.1.9","grunt-contrib-jshint":"^0.10.0","grunt-env":"~0.4.0","grunt-mocha-test":"~0.5.0","grunt-release":"^0.7.0","matchdep":"~0.1.2","mocha":"~1.12.0","q":"~1.0.0","should":"~1.2.2"},"gitHead":"6f82e76b88ba26d9d43bed64cac5ea30a5cb4960","_id":"travis-ci@2.0.1","scripts":{},"_shasum":"fe997dd7fe321f1cffa9b05ac8801b0ebe23ba24","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"dist":{"shasum":"fe997dd7fe321f1cffa9b05ac8801b0ebe23ba24","size":10084,"noattachment":false,"key":"/travis-ci/-/travis-ci-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-ci/download/travis-ci-2.0.1.tgz"},"directories":{},"publish_time":1414140041556,"_cnpm_publish_time":1414140041556,"_hasShrinkwrap":false},"2.0.0":{"name":"travis-ci","version":"2.0.0","description":"node library to access the Travis-CI API","main":"lib/travis-ci","bin":{"travis-ci":"./bin/travis-ci.js"},"repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc","github":"~0.1.10"},"devDependencies":{"grunt":"~0.4.1","grunt-cli":"~0.1.9","grunt-contrib-jshint":"^0.10.0","grunt-env":"~0.4.0","grunt-mocha-test":"~0.5.0","grunt-release":"^0.7.0","matchdep":"~0.1.2","mocha":"~1.12.0","q":"~1.0.0","should":"~1.2.2"},"gitHead":"024179948702cc35feb9884bc258dd77a5b6a0dd","_id":"travis-ci@2.0.0","scripts":{},"_shasum":"5af074c5e4ac6f0c2238c07dd26b026b70816d94","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"dist":{"shasum":"5af074c5e4ac6f0c2238c07dd26b026b70816d94","size":10084,"noattachment":false,"key":"/travis-ci/-/travis-ci-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-ci/download/travis-ci-2.0.0.tgz"},"directories":{},"publish_time":1414138299809,"_cnpm_publish_time":1414138299809,"_hasShrinkwrap":false},"1.1.2":{"name":"travis-ci","version":"1.1.2","description":"node library to access the Travis-CI API","main":"lib/travis-ci","bin":{"travis-ci":"./bin/travis-ci.js"},"repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc","github":"~0.1.10"},"devDependencies":{"grunt":"~0.4.1","grunt-cli":"~0.1.9","grunt-contrib-jshint":"^0.10.0","grunt-env":"~0.4.0","grunt-mocha-test":"~0.5.0","grunt-release":"^0.7.0","matchdep":"~0.1.2","mocha":"~1.12.0","q":"~1.0.0","should":"~1.2.2"},"gitHead":"4a5d1f5af97aed075c876d44dd322fa3879f6880","_id":"travis-ci@1.1.2","scripts":{},"_shasum":"a9c2070a8f39d4b358de297cbd15759bd909c3d5","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"dist":{"shasum":"a9c2070a8f39d4b358de297cbd15759bd909c3d5","size":10084,"noattachment":false,"key":"/travis-ci/-/travis-ci-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-ci/download/travis-ci-1.1.2.tgz"},"directories":{},"publish_time":1414138141856,"_cnpm_publish_time":1414138141856,"_hasShrinkwrap":false},"1.2.0":{"name":"travis-ci","version":"1.2.0","description":"node library to access the Travis-CI API","main":"lib/travis-ci","bin":{"travis-ci":"./bin/travis-ci.js"},"repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","readmeFilename":"README.md","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc","github":"~0.1.10"},"devDependencies":{"grunt-env":"~0.4.0","grunt-contrib-jshint":"~0.6.0","grunt":"~0.4.1","mocha":"~1.12.0","grunt-mocha-test":"~0.5.0","matchdep":"~0.1.2","should":"~1.2.2","grunt-cli":"~0.1.9","q":"~1.0.0"},"_id":"travis-ci@1.2.0","dist":{"shasum":"727240a23986239e3d30e474a92ee3a42c47e942","size":10829,"noattachment":false,"key":"/travis-ci/-/travis-ci-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-ci/download/travis-ci-1.2.0.tgz"},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"directories":{},"publish_time":1389339925203,"_cnpm_publish_time":1389339925203,"_hasShrinkwrap":false},"1.1.1":{"name":"travis-ci","version":"1.1.1","description":"node library to access the Travis-CI API","main":"lib/travis-ci","bin":{"travis-ci":"./bin/travis-ci.js"},"repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","readmeFilename":"README.md","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc","github":"~0.1.10"},"devDependencies":{"grunt-env":"~0.4.0","grunt-contrib-jshint":"~0.6.0","grunt":"~0.4.1","mocha":"~1.12.0","grunt-mocha-test":"~0.5.0","matchdep":"~0.1.2","should":"~1.2.2","grunt-cli":"~0.1.9"},"_id":"travis-ci@1.1.1","dist":{"shasum":"7d1ac74670e73a8111ccf7d2a7afc4cac1d3058f","size":10827,"noattachment":false,"key":"/travis-ci/-/travis-ci-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-ci/download/travis-ci-1.1.1.tgz"},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"directories":{},"publish_time":1383176748524,"_cnpm_publish_time":1383176748524,"_hasShrinkwrap":false},"1.1.0":{"name":"travis-ci","version":"1.1.0","description":"node library to access the Travis-CI API","main":"lib/travis-ci","bin":{"travis-ci":"./bin/travis-ci.js"},"repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","readmeFilename":"README.md","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc","github":"~0.1.10"},"devDependencies":{"grunt-env":"~0.4.0","grunt-contrib-jshint":"~0.6.0","grunt":"~0.4.1","mocha":"~1.12.0","grunt-mocha-test":"~0.5.0","matchdep":"~0.1.2","should":"~1.2.2","grunt-cli":"~0.1.9"},"_id":"travis-ci@1.1.0","dist":{"shasum":"8fd3b1bd9fc6f0452ddc20605c4d58db1524fc0c","size":10062,"noattachment":false,"key":"/travis-ci/-/travis-ci-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-ci/download/travis-ci-1.1.0.tgz"},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"directories":{},"publish_time":1383169813087,"_cnpm_publish_time":1383169813087,"_hasShrinkwrap":false},"1.0.1":{"name":"travis-ci","version":"1.0.1","description":"node library to access the Travis-CI API","main":"lib/travis-ci","bin":{"travis-ci":"./bin/travis-ci.js"},"repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","readmeFilename":"README.md","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc","github":"~0.1.10"},"devDependencies":{"grunt-env":"~0.4.0","grunt-contrib-jshint":"~0.6.0","grunt":"~0.4.1","mocha":"~1.12.0","grunt-mocha-test":"~0.5.0","matchdep":"~0.1.2","should":"~1.2.2","grunt-cli":"~0.1.9"},"_id":"travis-ci@1.0.1","dist":{"shasum":"736320d9d2cec0fa8a010b2ba00c8a75b1c81e5e","size":9544,"noattachment":false,"key":"/travis-ci/-/travis-ci-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-ci/download/travis-ci-1.0.1.tgz"},"_from":".","_npmVersion":"1.2.21","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"directories":{},"publish_time":1376943403771,"_cnpm_publish_time":1376943403771,"_hasShrinkwrap":false},"1.0.0":{"name":"travis-ci","version":"1.0.0","description":"node library to access the Travis-CI API","main":"lib/travis-ci","bin":{"travis-ci":"./bin/travis-ci.js"},"repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","readmeFilename":"README.md","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc","github":"~0.1.10"},"devDependencies":{"grunt-env":"~0.4.0","grunt-contrib-jshint":"~0.6.0","grunt":"~0.4.1","mocha":"~1.12.0","grunt-mocha-test":"~0.5.0","matchdep":"~0.1.2","should":"~1.2.2","grunt-cli":"~0.1.9"},"_id":"travis-ci@1.0.0","dist":{"shasum":"78140017b4b4e91958ba64f8894b96bc6bf72a3b","size":9500,"noattachment":false,"key":"/travis-ci/-/travis-ci-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-ci/download/travis-ci-1.0.0.tgz"},"_from":".","_npmVersion":"1.2.21","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"directories":{},"publish_time":1375203405192,"_cnpm_publish_time":1375203405192,"_hasShrinkwrap":false},"0.1.4":{"name":"travis-ci","version":"0.1.4","description":"node library to access the Travis-CI API","main":"lib/index","repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","readmeFilename":"README.md","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc","github":"~0.1.10"},"devDependencies":{"grunt-env":"~0.4.0","grunt-contrib-jshint":"~0.6.0","grunt":"~0.4.1","mocha":"~1.12.0","grunt-mocha-test":"~0.5.0","matchdep":"~0.1.2","should":"~1.2.2","grunt-cli":"~0.1.9"},"_id":"travis-ci@0.1.4","dist":{"shasum":"8d133561fedb59185eb8865e655c61ef82848b66","size":7579,"noattachment":false,"key":"/travis-ci/-/travis-ci-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-ci/download/travis-ci-0.1.4.tgz"},"_from":".","_npmVersion":"1.2.21","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"directories":{},"publish_time":1374772632674,"_cnpm_publish_time":1374772632674,"_hasShrinkwrap":false},"0.1.3":{"name":"travis-ci","version":"0.1.3","description":"node library to access the Travis-CI API","main":"lib/index","repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","readmeFilename":"README.md","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc","github":"~0.1.10"},"devDependencies":{"grunt-env":"~0.4.0","grunt-contrib-jshint":"~0.6.0","grunt":"~0.4.1","mocha":"~1.12.0","grunt-mocha-test":"~0.5.0","matchdep":"~0.1.2","should":"~1.2.2","grunt-cli":"~0.1.9"},"_id":"travis-ci@0.1.3","dist":{"shasum":"bc26e6d4448ad0d282fd32eca295b2c8a3628ddb","size":7573,"noattachment":false,"key":"/travis-ci/-/travis-ci-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-ci/download/travis-ci-0.1.3.tgz"},"_from":".","_npmVersion":"1.2.21","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"directories":{},"publish_time":1374686985288,"_cnpm_publish_time":1374686985288,"_hasShrinkwrap":false},"0.1.2":{"name":"travis-ci","version":"0.1.2","description":"node library to access the Travis-CI API","main":"lib/index","repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","readmeFilename":"README.md","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc","github":"~0.1.10"},"devDependencies":{"grunt-env":"~0.4.0","grunt-contrib-jshint":"~0.6.0","grunt":"~0.4.1","mocha":"~1.12.0","grunt-mocha-test":"~0.5.0","matchdep":"~0.1.2","should":"~1.2.2","grunt-cli":"~0.1.9"},"_id":"travis-ci@0.1.2","dist":{"shasum":"9cb01137502179bcb0523811b576f307daa689a9","size":7575,"noattachment":false,"key":"/travis-ci/-/travis-ci-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-ci/download/travis-ci-0.1.2.tgz"},"_from":".","_npmVersion":"1.2.21","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"directories":{},"publish_time":1374109611524,"_cnpm_publish_time":1374109611524,"_hasShrinkwrap":false},"0.1.1":{"name":"travis-ci","version":"0.1.1","description":"node library to access the Travis-CI API","main":"lib/index","repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci","travis","travisci","ci","continuous","integration","api"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","readmeFilename":"README.md","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc","github":"~0.1.10"},"devDependencies":{"grunt-env":"~0.4.0","grunt-contrib-jshint":"~0.6.0","grunt":"~0.4.1","mocha":"~1.12.0","grunt-mocha-test":"~0.5.0","matchdep":"~0.1.2","should":"~1.2.2","grunt-cli":"~0.1.9"},"_id":"travis-ci@0.1.1","dist":{"shasum":"c8c156e225ebc6ef173ffa98645261a34846d139","size":7487,"noattachment":false,"key":"/travis-ci/-/travis-ci-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-ci/download/travis-ci-0.1.1.tgz"},"_from":".","_npmVersion":"1.2.21","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"directories":{},"publish_time":1374102716819,"_cnpm_publish_time":1374102716819,"_hasShrinkwrap":false},"0.1.0":{"name":"travis-ci","version":"0.1.0","description":"node library to access the Travis-CI API","main":"lib/index","repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","readmeFilename":"README.md","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"lodash":"~1.3.1","request":"~2.22.0","underscore.string":"~2.2.0rc","github":"~0.1.10"},"devDependencies":{"grunt-env":"~0.4.0","grunt-contrib-jshint":"~0.6.0","grunt":"~0.4.1","mocha":"~1.12.0","grunt-mocha-test":"~0.5.0","matchdep":"~0.1.2","should":"~1.2.2","grunt-cli":"~0.1.9"},"_id":"travis-ci@0.1.0","dist":{"shasum":"f002a095197f7d6da7688fd3110007153d1421cc","size":9591,"noattachment":false,"key":"/travis-ci/-/travis-ci-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-ci/download/travis-ci-0.1.0.tgz"},"_from":".","_npmVersion":"1.2.21","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"directories":{},"publish_time":1374001556810,"_cnpm_publish_time":1374001556810,"_hasShrinkwrap":false},"0.0.1":{"name":"travis-ci","version":"0.0.1","description":"node library to access the Travis-CI API","main":"lib/index","repository":{"type":"git","url":"git://github.com/pwmckenna/node-travis-ci.git"},"keywords":["travis-ci"],"author":{"name":"Patrick Williams","email":"pwmckenna@gmail.com"},"license":"BSD","readmeFilename":"README.md","homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"dependencies":{"lodash":"~1.3.1","request":"~2.22.0"},"devDependencies":{"grunt-env":"~0.4.0","grunt-contrib-jshint":"~0.6.0","grunt":"~0.4.1","mocha":"~1.12.0","grunt-mocha-test":"~0.5.0","matchdep":"~0.1.2","should":"~1.2.2"},"_id":"travis-ci@0.0.1","dist":{"shasum":"48c9f32899a3f887dded96db992bfbc4a63f181e","size":2861,"noattachment":false,"key":"/travis-ci/-/travis-ci-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/travis-ci/download/travis-ci-0.0.1.tgz"},"_from":".","_npmVersion":"1.2.21","_npmUser":{"name":"pwmckenna","email":"pwmckenna@gmail.com"},"maintainers":[{"name":"pwmckenna","email":"pwmckenna@gmail.com"}],"directories":{},"publish_time":1373677132267,"_cnpm_publish_time":1373677132267,"_hasShrinkwrap":false}},"readme":"node-travis-ci [![Build Status](https://travis-ci.org/pwmckenna/node-travis-ci.png?branch=master)](https://travis-ci.org/pwmckenna/node-travis-ci)\n==============\n\nnode library to access the [Travis-CI API](https://api.travis-ci.org/docs/)\n\n[![NPM](https://nodei.co/npm/travis-ci.png?downloads=true&stars=true)](https://npmjs.org/package/travis-ci)\n\n# Instantiation\n\n```js\nvar Travis = require('travis-ci');\nvar travis = new Travis({\n    version: '2.0.0'\n});\n\n// To access the Travis-CI Pro API\nvar travis = new Travis({\n    version: '2.0.0',\n    pro: true\n});\n\n// To access the Travis-CI Enterprise API\nvar travis = new Travis({\n    version: '2.0.0',\n    enterprise: 'https://travis.example.com'\n});\n\n// To set custom headers\nvar travis = new Travis({\n  version: '2.0.0',\n  headers: {\n    'user-agent': 'My Custom User Agent'\n  }\n});\n```\n\n# API\n\n### Upgrade Notice (Migrating to 2.x)\nDue to the expanding travis api, there were an increasing number of cases where a function could conceivably map to several http endpoints. To eliminate that complexity, and to ensure that the entire api could be exposed, the api has been rewritten to be a much more transparent layer on top of the http interface. Url path segments that are exposed as objects, unless they are followed by url parameters, in which case they are exposed as functions that consume those arguments. The function that makes the api call is now just http verbs (`get`/`post`/etc).\n\nFor instance, to use this library to call `GET /repos/:owner_name/:name/builds/:id`, you now do something like the following:\n```js\ntravis.repos(ownerName, repoName).builds(buildId).get(function (err, res) {\n   // same res as before\n});\n```\n\n### Authentication\n\nMany functions, such as [`travis.accounts`](https://api.travis-ci.org/docs/#Accounts), require authenticating as a user. \nCurrently the only way to authenticate is to start with a github oauth token, request a travis access token, and authenticate with that.\n\n```js\ntravis.auth.github.post({\n    github_token: GITHUB_OAUTH_TOKEN\n}, function (err, res) {\n    // res => {\n    //     access_token: XXXXXXX\n    // }\n    travis.authenticate({\n        access_token: res.access_token\n    }, function (err) {\n         // we've authenticated!\n    });\n});\n```\n\nAs a convenience, `authenticate` also accepts github tokens, or github credentials (which are only sent to github) and performs the necessary requests to acquire a travis access token. For example:\n\n```js\ntravis.authenticate({\n    github_token: GITHUB_OAUTH_TOKEN\n}, function (err) {\n    // we've authenticated! \n});\n```\nor\n```js\ntravis.authenticate({\n    username: GITHUB_USERNAME,\n    password: GITHUB_PASSWORD\n}, function (err) {\n    //we've authenticated!\n});\n```\n\n> __Pro Tip:__ Authentication is simply a convenience function that ensures your token has the required permissions, then appends your `access_token` to all subsequent requests. You can alternatively pass `access_token` to any request where permission is required.\n\n### [Accounts](https://api.travis-ci.org/docs/#Accounts)\n\nAccounts calls require [authentication](#Authentication).\n\n```js\ntravis.accounts.get(function (err, res) {\n    // res => {\n    //     \"accounts\": [\n    //         {\n    //             \"id\": 5186,\n    //             \"name\": \"Patrick Williams\",\n    //             \"login\": \"pwmckenna\",\n    //             \"type\": \"user\",\n    //             \"repos_count\": 48\n    //         },\n    //         {\n    //             \"id\": ***,\n    //             \"name\": \"BitTorrent Torque Labs\",\n    //             \"login\": \"bittorrenttorque\",\n    //             \"type\": \"organization\",\n    //             \"repos_count\": ***\n    //         },\n    //         {\n    //             \"id\": ***,\n    //             \"name\": null,\n    //             \"login\": \"Studyokee\",\n    //             \"type\": \"organization\",\n    //             \"repos_count\": ***\n    //         },\n    //         {\n    //             \"id\": ***,\n    //             \"name\": \"BitTorrent Inc.\",\n    //             \"login\": \"bittorrent\",\n    //             \"type\": \"organization\",\n    //             \"repos_count\": ***\n    //         }\n    //     ]\n    // }\n});\n```\n\n### [Authorization](https://api.travis-ci.org/docs/#Authorization)\n\n```js\ntravis.auth.github.post({\n    github_token: GITHUB_OAUTH_TOKEN\n}, function (err, res) {\n    // res => {\n    //     access_token: ***\n    // }\n});\n```\n\nAdditional endpoints that have not be implemented yet:\n\n* [travis.auth.authorize](https://api.travis-ci.org/docs/#/auth/authorize)\n* [travis.auth.access_token](https://api.travis-ci.org/docs/#POST%20/auth/access_token)\n\nEndpoints that exist, but are intended for brower flows:\n\n* [travis.auth.handshake](https://api.travis-ci.org/docs/#/auth/handshake)\n* [travis.auth.post_message](https://api.travis-ci.org/docs/#/auth/post_message)\n* [travis.auth.post_message.iframe](https://api.travis-ci.org/docs/#/auth/post_message/iframe)\n\n### [Branches](https://api.travis-ci.org/docs/#Branches)\n\n```js\ntravis.branches.get(function (err, res) {\n    // res => {\n    //     branches: [],\n    //     commits: []\n    // }\n});\n```\n\n### [Broadcasts](https://api.travis-ci.org/docs/#Broadcasts)\n\n```js\ntravis.broadcasts.get(function (err, res) {\n    // res => {\n    //     broadcasts: []\n    // }\n});\n```\n\n### [Builds](https://api.travis-ci.org/docs/#Builds)\n\n```js\n// to get the info for a specific build, specify the build id\n// this is data used for pages such as:\n// https://travis-ci.org/pwmckenna/node-travis-ci/builds/10380000\ntravis.builds(10380000).get(function (err, res) {\n    // res => {\n    //     \"build\": {\n    //         \"id\": 10380000,\n    //         \"repository_id\": 1095505,\n    //         \"commit_id\": 3053424,\n    //         \"number\": \"43\",\n    //         \"pull_request\": false,\n    //         \"pull_request_title\": null,\n    //         \"pull_request_number\": null,\n    //         \"config\": {\n    //             \"language\": \"node_js\",\n    //             \"node_js\": [\n    //                 \"0.10.1\"\n    //             ],\n    //             \"script\": [\n    //                 \"./node_modules/grunt-cli/bin/grunt test\"\n    //             ],\n    //             \".result\": \"configured\",\n    //             \"global_env\": [\n    //                 {\n    //                     \"secure\": \"SHezJGUSi1cc/V+AWBgmGe...\n    //                 },\n    //                 {\n    //                     \"secure\": \"opq2IxY6TquOtn4nCI75Y...\n    //                 },\n    //                 {\n    //                     \"secure\": \"f4rapdrgZJIeqUUBu3Bp/...\n    //                 }\n    //             ]\n    //         },\n    //         \"state\": \"canceled\",\n    //         \"started_at\": null,\n    //         \"finished_at\": \"2013-10-30T23:19:20Z\",\n    //         \"duration\": 0,\n    //         \"job_ids\": [\n    //             10380001\n    //         ]\n    //     },\n    //     \"commit\": {\n    //         \"id\": 3053424,\n    //         \"sha\": \"af594e5b0744e6fdd4af5c7470652286420db430\",\n    //         \"branch\": \"master\",\n    //         \"message\": \"1.0.1\",\n    //         \"committed_at\": \"2013-08-19T20:12:25Z\",\n    //         \"author_name\": \"Patrick Williams\",\n    //         \"author_email\": \"pwmckenna@gmail.com\",\n    //         \"committer_name\": \"Patrick Williams\",\n    //         \"committer_email\": \"pwmckenna@gmail.com\",\n    //         \"compare_url\": \"https://github.com/pwmckenna/node-travis-ci/...\n    //     },\n    //     \"jobs\": [\n    //         {\n    //             \"id\": 10380001,\n    //             \"repository_id\": 1095505,\n    //             \"build_id\": 10380000,\n    //             \"commit_id\": 3053424,\n    //             \"log_id\": 4540661,\n    //             \"state\": \"canceled\",\n    //             \"number\": \"43.1\",\n    //             \"config\": {\n    //                 \"language\": \"node_js\",\n    //                 \"node_js\": \"0.10.1\",\n    //                 \"script\": [\n    //                     \"./node_modules/grunt-cli/bin/grunt test\"\n    //                 ],\n    //                 \".result\": \"configured\",\n    //                 \"global_env\": \"GITHUB_OAUTH_TOKEN=[secure] ...\n    //             },\n    //             \"started_at\": null,\n    //             \"finished_at\": \"2013-10-30T23:19:19Z\",\n    //             \"queue\": \"builds.linux\",\n    //             \"allow_failure\": false,\n    //             \"tags\": \"\"\n    //         }\n    //     ]\n    // }\n});\n```\n```js\n// to cancel a build\ntravis.builds(10380000).cancel.post(function (err) {\n});\n```\n\n### [Documentation](https://api.travis-ci.org/docs/#Documentation)\n\n```js\ntravis.documentation.get(function (err, res) {\n    // res => <html>\n    //     ...\n    // </html\n});\n```\n\n### [Endpoints](https://api.travis-ci.org/docs/#Endpoints)\n\n```js\ntravis.endpoints.get(function (err, res) {\n    // res => [\n    //     {\n    //         \"name\": \"Home\",\n    //         \"doc\": \"\",\n    //         \"prefix\": \"/\",\n    //         \"routes\": [\n    //             {\n    //                 \"uri\": \"/\",\n    //                 \"verb\": \"GET\",\n    //                 \"doc\": \"Landing point...\",\n    //                 \"scope\": \"public\"\n    //             },\n    //             {\n    //                 \"uri\": \"/redirect\",\n    //                 \"verb\": \"GET\",\n    //                 \"doc\": \"Simple endpoints that redirects somewhere else...\",\n    //                 \"scope\": \"public\"\n    //             },\n    //             {\n    //                 \"uri\": \"/config\",\n    //                 \"verb\": \"GET\",\n    //                 \"doc\": \"Provides you with system info:...\",\n    //                 \"scope\": \"public\"\n    //             }\n    //         ]\n    //     },\n    //     {\n    //         \"name\": \"Accounts\",\n    //         \"doc\": \"\",\n    //         \"prefix\": \"/accounts\",\n    //         \"routes\": [\n    //             {\n    //                 \"uri\": \"/accounts/\",\n    //                 \"verb\": \"GET\",\n    //                 \"doc\": \"\",\n    //                 \"scope\": \"private\"\n    //             }\n    //         ]\n    //     },\n    //     ...\n    // ]\n});\n```\n```js\ntravis.endpoints('endpoints').get(function (err, res) {\n    // res => {\n    //     \"name\": \"Endpoints\",\n    //     \"doc\": \"Documents all available API endpoints...\",\n    //     \"prefix\": \"/endpoints\",\n    //     \"routes\": [\n    //         {\n    //             \"uri\": \"/endpoints/\",\n    //             \"verb\": \"GET\",\n    //             \"doc\": \"Lists all available API endpoints by URI prefix...\",\n    //             \"scope\": \"public\"\n    //         },\n    //         {\n    //             \"uri\": \"/endpoints/:prefix\",\n    //             \"verb\": \"GET\",\n    //             \"doc\": \"Infos about a specific controller....\",\n    //             \"scope\": \"public\"\n    //         }\n    //     ]\n    // }\n});\n```\n\n### [Hooks](https://api.travis-ci.org/docs/#Hooks)\n\nAll hook calls require [authentication](#Authentication).\n\n```js\ntravis.hooks.get(function (err, res) {\n    // res => [\n    //     {\n    //         id: 1095505,\n    //         name: 'node-travis-ci',\n    //         owner_name: 'pwmckenna',\n    //         description: 'node library to access the Travis-CI API',\n    //         active: true,\n    //         private: false,\n    //         admin: true\n    //     }\n    //     ...\n    // ]\n});\n```\n```js\ntravis.hooks(1095505).put(\n    hook: {\n        active: false\n    }\n}, function (err, res) {\n});\n```\n\n### [Jobs](https://api.travis-ci.org/docs/#Jobs)\n\n```js\ntravis.jobs(JOB_ID).get(function (err, res) {\n    // res => {\n    //     \"job\": {\n    //         \"id\": 9624444,\n    //         \"repository_id\": 1095505,\n    //         \"repository_slug\": \"pwmckenna/node-travis-ci\",\n    //         \"build_id\": 9624443,\n    //         \"commit_id\": 2836527,\n    //         \"log_id\": 3986694,\n    //         \"state\": \"failed\",\n    //         ...\n    //     },\n    //     \"commit\": {\n    //         \"id\": 2836527,\n    //         \"sha\": \"431d6e5d899f165e4786ce82c4672975cddca670\",\n    //         \"branch\": \"master\",\n    //         \"message\": \"fixing builds test\",\n    //         ...\n    //     }\n    // }\n});\n```\n```js\ntravis.jobs.log({\n    job_id: JOB_ID\n}, function (err, res) {\n    \n});\n```\n\n### [Logs](https://api.travis-ci.org/docs/#Logs)\n\n```js\ntravis.logs({\n    id: LOG_ID\n}, function (err, res) {\n    // res => {\n    //     log: {\n    //         id: 3986694,\n    //         job_id: 9624444,\n    //         type: 'Log',\n    //         body: 'Using worker: worker-linux-6-2.bb.travis-ci.org:travis-linux-15\\n\\n$ export GITHUB_OAUTH_TOKEN=[secure]...\n    //     }\n    // }\n});\n```\n\n### [Repos](https://api.travis-ci.org/docs/#Repos)\n\n```js\ntravis.repos('pwmckenna').get(function (err, res) {\n    // res => {\n    //     \"repos\": [\n    //         {\n    //         \"id\": 1095505,\n    //         \"slug\": \"pwmckenna/node-travis-ci\",\n    //         \"description\": \"node library to access the Travis-CI API\",\n    //         \"last_build_id\": 6347735,\n    //         \"last_build_number\": \"468\",\n    //         \"last_build_state\": \"started\",\n    //         \"last_build_duration\": null,\n    //         \"last_build_language\": null,\n    //         \"last_build_started_at\": \"2013-04-15T09:45:29Z\",\n    //         \"last_build_finished_at\": null\n    //         }\n    //     ]\n    // }\n});\n```\n```js\ntravis.repos('pwmckenna', 'node-travis-ci').get(function (err, res) {\n    // res => {\n    //     \"repo\": {\n    //         \"id\": 1095505,\n    //         \"slug\": \"pwmckenna/node-travis-ci\",\n    //         \"description\": \"node library to access the Travis-CI API\",\n    //         ...\n    //     }\n    // }\n});\n```\n```js\ntravis.repos(repoId).key.get(function (err, res) {\n    // res => {\n    //   key: '-----BEGIN RSA PUBLIC KEY-----\\nMIGfMA0GCSqGSIb...'    \n    // }\n});\n```\n```js\ntravis.repos('pwmckenna', 'node-travis-ci').builds.get(function (err, res) {\n    // res => {\n    //     builds: [],\n    //     commits: []\n    // }\n});\n```\n\n### [Requests](https://api.travis-ci.org/docs/#Requests)\n\nRequests calls require [authentication](#Authentication).\n\n```js\ntravis.requests.post(({\n    build_id: BUILD_ID    \n}, function (err, res) {\n    // res => {\n    //     \"result\": true,\n    //     \"flash\": [\n    //         {\n    //             \"notice\": \"The build was successfully restarted.\"\n    //         }\n    //     ]\n    // }\n});\n```\n\n### [Users](https://api.travis-ci.org/docs/#ss)\n\nAll user calls require [authentication](#Authentication).\n\n```js\ntravis.users.get(function (err, res) {\n    // res => {\n    //     \"user\": {\n    //         \"id\": 5186,\n    //         \"name\": \"Patrick Williams\",\n    //         \"login\": \"pwmckenna\",\n    //         \"email\": \"patrick@bittorrent.com\",\n    //         \"gravatar_id\": \"894f552b86b959df97353a7296baee5c\",\n    //         \"locale\": \"en\",\n    //         \"is_syncing\": false,\n    //         \"synced_at\": \"2013-10-30T22:47:49Z\",\n    //         \"correct_scopes\": true,\n    //         \"created_at\": \"2012-02-07T22:17:38Z\"\n    //     }\n    // }\n});\n```\n```js\ntravis.users.permissions.get(function (err, res) {\n    // res => {\n    //     \"permissions\": [\n    //         1446577,\n    //         107140,\n    //         1402719,\n    //         1392622,\n    //         ...\n    //     ]\n    // }\n\n});\n```\n```js\ntravis.users.sync.post(function (err, res) {\n    // res => {\n    //     \"result\": true\n    // }\n});\n```\n\n# CLI\n\nTo install as a command line utility, just install globally via npm.\n\n```bash\nnpm install -g travis-ci\n```\n\nThe entire library is available via command line interface. While it uses subcommands, the api is the same as above.\n\n```bash\ntravis-ci authenticate --username=pwmckenna --password=superSecret\n=>  {\n        \"access_token\": \"F7DlolJkD15isf4KEDuh_A\"\n    }\n# or\ntravis-ci auth github --github_token=ef7c329fb63479eb5be9719bb8b23162072bb20d\n=>  {\n        \"access_token\": \"F7DlolJkD15isf4KEDuh_A\"\n    }\n```\n\n> __Pro Tip:__ Passing OAuth tokens or github credentials via the command line will leave them in your shell history for all to see. Please shell responsibly.\n\n\nUse the `access_token` above in all subsequent commands that require authentication, such as requesting the builds for this project:\n\n```bash\ntravis-ci repos pwmckenna node-travis-ci builds --access_token=F7DlolJkD15isf4KEDuh_A\n=>  {\n        \"builds\": [\n            {\n                \"id\": 9630304,\n                \"repository_id\": 1095505,\n                \"pull_request\": false,\n                \"state\": \"passed\",\n                ...\n            },\n            ...\n        ]\n    }\n```\n","_attachments":{},"homepage":"https://github.com/pwmckenna/node-travis-ci","bugs":{"url":"https://github.com/pwmckenna/node-travis-ci/issues"},"license":"BSD"}