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.
    Select-Connector.png
  2. Select the Trigger a build action.
    Select-Action.png
  3. In the Configure Action tab, click + Add New Account to add your TravisCI account.
    Add-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 Authorize.
    Authorize.png
  7. Select a Repository from the LOOKUP list. You need to integrate your GitHub or Bitbucket repositories within TravisCI.
    Select-Repository.png
  8. Select a Branch from the LOOKUP list.
    Select-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.
    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.
    Configuration.png

  12. Once done, click Proceed.
  13. Click Test Action.
    Test-Action.png

  14. On successful configuration, you can see the below output. Click Save and Exit.
    Save-Exit.png
  15. Navigate to TravisCI to check the progress. You should see the following output:Output.png

This sets your TravisCI Connector.

Was this article helpful?

Thanks for your feedbackSmile-icon

More articles in "CI/CD Platform"

On This Page

^