Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

Commit

Permalink
[api] travisCI.getBuild
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalecki committed Nov 21, 2011
1 parent 5da92b2 commit 664f4b8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/travis-ci.js
Expand Up @@ -23,3 +23,10 @@ exports.builds = function (owner, repo, callback) {
}, callback);
};

exports.getBuild = function (owner, repo, id, callback) {
request({
url: remoteHost + '/' + owner + '/' + repo + '/builds/' + id + '.json',
json: true
}, callback);
};

0 comments on commit 664f4b8

Please sign in to comment.