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

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.

0
Downloads
1447
Views
8.44
Quality Score
beginner
Complexity
Author:Harshil Agrawal(View Original →)
Created:8/14/2025
Updated:8/25/2025

🔒 Please log in to import templates to n8n and favorite templates

Workflow Visualization

Loading...

Preparing workflow renderer

Comments (0)

Login to post comments