Skip to content

Commit 1d26828

Browse files
committed
Add Travis CI independent publisher connector
1 parent ef14c28 commit 1d26828

3 files changed

Lines changed: 1402 additions & 0 deletions

File tree

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# Travis CI
2+
3+
Travis CI is a hosted continuous integration service that automatically builds and tests code changes in GitHub repositories. This connector enables Power Automate users to monitor builds, trigger new builds, restart or cancel builds, and explore repository, job, and branch details — powering CI/CD alerting, deployment triggering, and daily reporting flows.
4+
5+
## Publisher: Aaron Mah
6+
7+
## Prerequisites
8+
9+
You need a Travis CI account (free tier available). Travis CI authenticates exclusively via GitHub — sign up at [https://app.travis-ci.com](https://app.travis-ci.com) with your GitHub account. At least one GitHub repository must be activated on Travis CI to use most operations.
10+
11+
## Obtaining Credentials
12+
13+
1. Log in at [https://app.travis-ci.com](https://app.travis-ci.com) with your GitHub account.
14+
2. Click your avatar in the upper right corner and select **Settings**.
15+
3. Scroll to the **API Token** section.
16+
4. Click **Copy Token** to copy your API token.
17+
5. Paste the token when creating the Travis CI connection in Power Automate.
18+
19+
## Supported Operations
20+
21+
### Get Build
22+
Gets a single build by its numeric ID, including commit, branch, and job details.
23+
24+
### List Builds for Repository
25+
Lists builds for a specific repository, with optional filtering by state, event type, and branch.
26+
27+
### Trigger Build
28+
Triggers a new build for a repository on the specified branch.
29+
30+
### Restart Build
31+
Restarts a completed, failed, or canceled build.
32+
33+
### Cancel Build
34+
Cancels a currently running build.
35+
36+
### Get Repository
37+
Gets details for a single repository, including its current build status.
38+
39+
### List Repositories
40+
Lists repositories the authenticated user has access to, with optional filtering.
41+
42+
### Get Job
43+
Gets details for a single job within a build.
44+
45+
### Get Job Log
46+
Gets the full text log for a job. Note: logs can be large; use for targeted debugging.
47+
48+
### List Jobs for Build
49+
Lists all jobs belonging to a specific build.
50+
51+
### Get Branch
52+
Gets a branch and its last build information for a repository.
53+
54+
### Get Current User
55+
Gets the profile of the currently authenticated user.
56+
57+
## API Documentation
58+
59+
Visit [Travis CI Developer Docs](https://developer.travis-ci.com/) for further details.
60+
61+
## Known Issues and Limitations
62+
63+
- **Repository slug encoding**: Repository slugs use `owner/name` format. Power Automate handles the URL encoding automatically — enter the slug as `myorg/my-repo` (not `myorg%2Fmy-repo`).
64+
- **API rate limits**: Travis CI may rate-limit API requests. If you experience throttling, increase the interval between flow runs.
65+
- **Large log responses**: The Get Job Log operation can return multi-megabyte responses for long-running builds. Use it for targeted debugging rather than bulk log retrieval.
66+
- **Single token per user**: Travis CI uses a single API token per user account. There are no granular scopes — the token inherits permissions from your GitHub repository access.
67+
- **Required API version header**: All requests require the `Travis-API-Version: 3` header. This connector injects it automatically via a policy template.
68+
69+
## License
70+
71+
Distributed under the MIT License.

0 commit comments

Comments
 (0)