Travis CI ​
Manage repositories, builds, and jobs with the Travis CI API.
| Detail | Value |
|---|---|
| Category | CI/CD |
| Base URL | https://api.travis-ci.com |
| Authentication | Bearer Token |
| Endpoints | 8 |
| Connector key | travis-ci |
Using Travis CI in a workflow ​
- Go to Connections and click New Connection.
- Pick Travis CI from the marketplace.
- Enter your credentials (see Authentication above for what's expected).
- In a workflow, drop an API Call node and select this connection.
- Pick the operation you need from the Operation dropdown — see the table below.
Available Endpoints ​
| Endpoint | Summary |
|---|---|
| GET /user | Get current user |
| GET /repos | List repositories |
| GET /repo/{slug} | Get repository details |
| GET /repo/{slug}/builds | List builds |
| GET /build/{id} | Get build details |
| POST /build/{id}/cancel | Cancel a build |
| POST /build/{id}/restart | Restart a build |
| POST /repo/{slug}/requests | Trigger a build |
Each endpoint has its own page with parameter details, an example
API Callnode configuration, and the response shape.