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. 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.
    Click to enlarge

  4. Under Choose an Action tab, select the Trigger a Build action.
    Click to enlarge
  5. In the Configure Action tab, click+ Add New Account to add your TravisCI account.
    Click to enlarge
  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.
      Click to enlarge

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

  8. Once done, clickAuthorize.
    Click to enlarge
  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.
    Click to enlarge
  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.
    Click to enlarge
  14. Once done, click Proceed.
  15. Click Test Action.
    Click to enlarge
  16. On successful configuration, you can see the below output. Click Save and Exit.
    Click to enlarge
  17. Navigate to TravisCI to check the progress. You should see the following output:
    Click to enlarge

This sets the TravisCI action connector.