Travis CI

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

Installation

You can install the Travis CI integration with its integration tile.

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
  2. If the account is under Travis CI enterprise, enter your custom domain.

  3. Add multiple accounts if needed by clicking “Add row”.

  4. Click ‘Install’ (initial installation only).

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

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

  7. Click ‘Update Configuration’.

Data Collected

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

The Travis CI integration does not include any events.

Service Checks

The Travis CI integration does not include any service checks.

Troubleshooting

Need help? Contact Datadog support.

PREVIEWING: may/unit-testing