TravisCI

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. In the Configure Action section, select TravisCI connector.
    1.Select_TravisCI.png
  2. Select the Trigger a build action.
    2.Select_Trigger_a_Build_Action.png
  3. In the Configure Action tab, click on + Add New Account to add your TravisCI account.
    3.Click_Add_New_Account.png
  4. In the Authorize pop-up window, provide the API Token.
  5. 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.
      4.Generate_API_Token.png

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

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

This sets your TravisCI Connector.

Was this article helpful?

Thanks for your feedbackSmile-icon

On This Page

^