Back to Workflows

Trigger a build in Travis CI when code changes are push to a GitHub repo

Apps in this workflow

Github Trigger
TravisCI

Categories

Development
DevOps & IT
Product & Project Management
Building Blocks

Share

Details

Created 2 years ago by harshil1712
eye 237 views
Description

This workflow allows you to trigger a build in Travis CI when code changes are pushed to a GitHub repo or a pull request gets opened.

GitHub Trigger node: This node will trigger the workflow when changes are pushed or when a pull request is created, updated, or deleted.

IF node: This node checks for the action type. We want to trigger a build when code changes are pushed or when a pull request is opened. We don't want to build the project when a PR is closed or updated.

TravisCI node: This node will trigger the build in Travis CI. If you're using CircleCI in your pipeline, replace the node with the CircleCI node.

NoOp node: Adding this node is optional.

Implement complex processes faster with n8n

red icon yellow icon red icon yellow icon