Skip to content

Travis CI ​

Manage repositories, builds, and jobs with the Travis CI API.

DetailValue
CategoryCI/CD
Base URLhttps://api.travis-ci.com
AuthenticationBearer Token
Endpoints8
Connector keytravis-ci

Using Travis CI in a workflow ​

  1. Go to Connections and click New Connection.
  2. Pick Travis CI from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown — see the table below.

Available Endpoints ​

EndpointSummary
GET /userGet current user
GET /reposList repositories
GET /repo/{slug}Get repository details
GET /repo/{slug}/buildsList builds
GET /build/{id}Get build details
POST /build/{id}/cancelCancel a build
POST /build/{id}/restartRestart a build
POST /repo/{slug}/requestsTrigger a build

Each endpoint has its own page with parameter details, an example API Call node configuration, and the response shape.