TravisCI is an integration service used to test the repositories hosted on GitHub or Bitbucket. When you integrate your GitHub or Bitbucket repositories with your TravisCI account, it checks for the configuration defined in the .travis.yml file (that you need to define) and notifies you with the output.

TravisCI is very helpful as it lets you test any kind of code break or redundancy in the master repository of your GitHub or Bitbucket accounts.

Set Up TravisCI

Perform the following steps to set up TravisCI action connector:

  1. Click Configure Action Step from the left navigation panel.
  2. Click Action Step to configure third-party services.
  3. Within the Configure Action Step, click the TravisCI connector.
  4. Under Choose an Action tab, select the Trigger a Build action.
  5. In the Configure Action tab, click+ Add New Account to add your TravisCI account.
  6. In the Authorize pop-up window, provide the API Token.
  7. To generate an API Token, log in to the TravisCI dashboard and perform the following steps:

    1. Under User Settings, select Settings.
    2. Under the Settings tab, copy the Token value.

      Additional Resource: For more information, refer to the Token document.

  8. Once done, clickAuthorize.
  9. Select a Repository from the Lookup list. You need to integrate your GitHub or Bitbucket repositories within TravisCI.
  10. Select a Branch from the Lookup list.
  11. Clicking the Show optional field toggle button lets you add the Commit message and Configuration fields.
  12. Provide a new Commit message. This will override any previous commit message.
  13. Provide additional configuration details (in JSON format only) in the Configuration field. This will get added into the .travis.yml file.
  14. Once done, click Proceed.
  15. Click Test Action.
  16. On successful configuration, you can see the below output. Click Save and Exit.
  17. Navigate to TravisCI to check the progress. You should see the following output: Output.png

This sets the TravisCI action connector.

Was this article helpful?