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

Nodes

ba9c0ab0-7276-46e6-9cc4-ac6e16e05547a043cd72-ffc8-4e7f-a103-8ee08cf9d881

Categories

Created by

HaHarshil Agrawal

Last edited 38 days ago

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.

New to n8n?

Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!