Trigger, cancel, restart and read Travis CI builds.
Explore 6 workflow actions for Travis CI, including account permissions and operation limits.
3 read actions3 write actions
WORKFLOW ACTIONS
What you can configure.
Choose an action in the workflow builder, connect an account, and map its inputs. These actions are available in the catalog; your account access and a successful test determine whether they work for your setup.
Cancel build
Write
Cancel a running build and its jobs.
Permissions and limits
Account permissions
A Travis CI API token for a user with access to the repository
Operation limits
Travis CI answers once the cancel is accepted; read the build to see it canceled.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Get build
Read
Read one build with its state, branch, commit and jobs.
Permissions and limits
Account permissions
A Travis CI API token for a user with access to the repository
List my builds
Read
Read a page of builds for the token's user.
Permissions and limits
Account permissions
A Travis CI API token for a user with access to the repository
List repository builds
Read
Read a page of a repository's builds, filtered by branch, state or event.
Permissions and limits
Account permissions
A Travis CI API token for a user with access to the repository
Restart build
Write
Restart a completed or canceled build.
Permissions and limits
Account permissions
A Travis CI API token for a user with access to the repository
Operation limits
Travis CI answers once the restart is accepted; read the build to follow it.
A repeated request may repeat the external action. Review the previous result before retrying a write.
Trigger build
Write
Request a build of a branch, optionally with a message and configuration that override .travis.yml.
Permissions and limits
Account permissions
A Travis CI API token for a user with access to the repository
Operation limits
merge_mode and sha are undocumented, so they are not offered.
Travis CI queues the request; the build appears once it is processed. The API allows a limited number of requests per hour, shown as remaining_requests.
A repeated request may repeat the external action. Review the previous result before retrying a write.
SETUP
Start with a controlled test.
01Connect the intended account
Use the account and permissions required for your process. Review the connection check before configuring a workflow action.
02Review inputs and access
Select a listed operation and map its required inputs. Use test records and add a human approval before writes that need review.
03Confirm the result
Inspect step outputs and confirm the result in Travis CI. A saved workflow is not a completed provider action.