---
title: Travis CI
description: >-
  A hosted, distributed continuous integration service used to build and test
  software projects hosted in GitHub.
breadcrumbs: Docs > Integrations > Travis CI
---

# Travis CI

## Overview{% #overview %}

Travis CI is a hosted continuous integration service used to build and test software projects. Connect to Travis CI to view metrics about build times, build statuses, jobs, and more.

## Setup{% #setup %}

### Installation{% #installation %}

You can install the Travis CI integration with its [integration tile](https://app.datadoghq.com/integrations/travis_ci).

### Configuration{% #configuration %}

1. Add your account name, API token (found under the profile tab in Travis CI), and the project type. Project types are determined as follows:

   - *Open source* refers to repositories connected to travis-ci.org
   - *Private* refers to repositories connected to travis-ci.co
   - *Enterprise* refers to repositories connected to a custom Travis CI domain

1. If the account is under Travis CI enterprise, enter your custom domain.

1. Add multiple accounts if needed by clicking "Add row".

1. Click 'Install' (initial installation only).

1. Add the organization and repositories you want to collect metrics from with the corresponding API key.

1. To collect metrics for all repositories under an organization, type `<ORGANIZATION_NAME>/*` under Project.

1. Click 'Update Configuration'.

## Data Collected{% #data-collected %}

### Metrics{% #metrics %}

|  |
|  |
| **travis\_ci.build.duration**(gauge)   | Duration of builds*Shown as second*                               |
| **travis\_ci.build.finished**(count)   | Count of finished builds*Shown as build*                          |
| **travis\_ci.build.num\_jobs**(count)  | Count of jobs*Shown as job*                                       |
| **travis\_ci.job.duration**(gauge)     | Duration of jobs*Shown as second*                                 |
| **travis\_ci.job.finished**(count)     | Count of finished jobs*Shown as job*                              |
| **travis\_ci.job.queued\_time**(gauge) | Time jobs spent waiting in queue before starting*Shown as second* |

### Events{% #events %}

The Travis CI integration does not include any events.

### Service Checks{% #service-checks %}

The Travis CI integration does not include any service checks.

## Troubleshooting{% #troubleshooting %}

Need help? Contact [Datadog support](https://docs.datadoghq.com/help/).
