Net::Async::TravisCI - interact with the Travis CI API
version 0.002
Does things to Travis. Terrible, nasty things, most of which are sadly not yet documented.
Applies configuration, which at the moment would involve zero or more of the following named parameters:
token - a TravisCI token
Returns the hashref of API endpoints, loading them on first call from the share/endpoints.json file.
share/endpoints.json
Processes the given endpoint as a template, using the named parameters passed to the method.
Returns the HTTP instance used for communicating with Travis.
Currently autocreates a Net::Async::HTTP instance.
Returns authentication info as parameters suitable for the "http" methods.
Github API key.
Travis token.
MIME type to use for requests. Hardcoded default to travis-ci.2+json.
travis-ci.2+json
Base URI for Travis requests.
Hardcoded to the private Travis CI server, https://api.travis-ci.com.
Issues an HTTP GET request.
Performs an HTTP POST request.
Sets the github token.
Retrieves accounts.
Retrieves users.
Retrieves jobs.
Cancels a specific job by ID.
Deals with pusher auth, used for tailing logs.
Handles the pusher instance.
Applies Travis config.
add_child, adopt_future, can_event, children, configure_unknown, debug_printf, get_loop, invoke_error, invoke_event, loop, make_event_cb, maybe_invoke_event, maybe_make_event_cb, new, notifier_name, parent, remove_child, remove_from_parent
Tom Molesworth <TEAM@cpan.org>
Copyright Tom Molesworth 2015-2017. Licensed under the same terms as Perl itself.
To install Net::Async::TravisCI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Async::TravisCI
CPAN shell
perl -MCPAN -e shell install Net::Async::TravisCI
For more information on module installation, please visit the detailed CPAN module installation guide.