platypush.plugins.travisci

class platypush.plugins.travisci.TravisciPlugin(token: str, **kwargs)[source]

Travis-Ci continuous integration plugin.

Setup:

__init__(token: str, **kwargs)[source]

Initialize self. See help(type(self)) for accurate signature.

builds(limit: int = 100) → Dict[str, List[Dict[str, Any]]][source]

Get the list of builds triggered on the owned repositories

Parameters:limit – Maximum number of builds to be retrieved (default: 100).
Returns:Repo name -> List of builds
repos() → Dict[str, Dict[str, Any]][source]

Get the repos owned by current user. :return: Repo name -> Repo attributes mapping.