Travis CI logo

Backstage Travis CI Plugin

See builds in Backstage

Created by Roadie

Available on Roadie
A screenshot of the Travis CI plugin. It is showing a list of builds for a sample service.

See the Travis CI Backstage plugin in action

Installation steps

In the backstage/packages/app project add the plugin as a package.json dependency:

yarn add @roadiehq/backstage-plugin-travis-ci

Add proxy configurations

// app-config.yaml
  # ...

    changeOrigin: true
      Authorization: ${TRAVISCI_AUTH_TOKEN}
      travis-api-version: 3

Add a separate configuration object.

// app-config.yaml
  baseUrl: ''

Import it into your Backstage application

// packages/app/src/components/catalog/EntityPage.tsx
import {
} from '@roadiehq/backstage-plugin-travis-ci';

Add plugin API to your Backstage instance

// packages/app/src/components/catalog/EntityPage.tsx

export const cicdContent = (
    <EntitySwitch.Case if={isTravisciAvailable}>
      <EntityTravisCIContent />

Add recent Travis-CI builds widget/card to your Overview card.

// packages/app/src/components/catalog/EntityPage.tsx

export const cicdCard = (
    <EntitySwitch.Case if={isTravisciAvailable}>
      <EntityTravisCIOverviewCard />

Add annotation to the yaml config file of a component owner-name/project-name

Add your developer api key to the environment variables of your backstage backend server (you can find it in, in the form of the word 'token' followed by your api key. So it should look like this

TRAVISCI_AUTH_TOKEN="token your-api-key"

Found a mistake? Update these instructions.

Things to know


  • List Travis CI Builds
  • Retrigger builds

To use the Travis CI Backstage plugin, first visit Travis CI to get an API token: Travis Preferences

There are two versions of Travis CI: and is deprecated and not supported in this plugin.


Copy the token to your clipboard.

Each build can be retried via the column on the right hand side.

Prefer a no-code Backstage setup?

Become a Backstage expert

To get the latest news, deep dives into Backstage features, and a roundup of recent open-source action, sign up for Roadie's Backstage Weekly. See recent editions.

We will never sell or share your email address.