Integration

Travis CI integration

Hosted continuous integration service for GitHub projects. Manage repositories, trigger and monitor builds, inspect jobs and logs, configure environment variables, and validate .travis.yml files. Use the Travis CI API v3 to automate CI/CD pipelines, restart failed builds, cancel running jobs, and integrate Travis with broader DevOps workflows.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in Travis CI.Built from the 24 Travis CI tools below, on the connection you add once.

Common Travis CI use cases

  • retry a flaky build
  • abort a runaway build
  • expand build.created_by
  • verify travis api token
  • inspect why a job failed
  • dashboard of recent CI activity
  • discover available repositories
  • onboard a new repo to Travis CI
  • trigger CI from another workflow
  • audit the build history of a repo

What you can do with Travis CI

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Repository, 6 operations

  • activate_repositoryActivate repositoryPOSTActivates Travis CI on a repository.
  • deactivate_repositoryDeactivate repositoryPOSTDeactivates Travis CI on a repository.
  • get_repositoryGet repositoryGETReturns a single Travis CI repository by slug.
  • list_repositoriesList repositoriesGETLists repositories visible to the authenticated Travis CI user.
  • star_repositoryStar repositoryPOSTStars a Travis CI repository for the current user.
  • unstar_repositoryUnstar repositoryPOSTRemoves the star from a Travis CI repository.

Build, 5 operations

  • cancel_buildCancel buildPOSTCancels a running Travis CI build.
  • get_buildGet buildGETReturns a single Travis CI build.
  • list_buildsList buildsGETLists builds visible to the authenticated user.
  • list_repository_buildsList repository buildsGETLists builds for a single Travis CI repository.
  • restart_buildRestart buildPOSTRestarts a completed or canceled Travis CI build.

Job, 4 operations

  • cancel_jobCancel jobPOSTCancels a single Travis CI job.
  • get_jobGet jobGETReturns a single Travis CI job.
  • list_build_jobsList build jobsGETLists the jobs of a Travis CI build.
  • restart_jobRestart jobPOSTRestarts a single Travis CI job.

Env var, 2 operations

  • create_env_varCreate env varPOSTCreates an environment variable on a Travis CI repository.
  • list_env_varsList env varsGETLists environment variables configured on a Travis CI repository.

User, 2 operations

  • get_current_userGet current userGETReturns the currently authenticated Travis CI user.
  • get_userGet userGETReturns a Travis CI user by ID.

Branch, 1 operation

  • list_branchesList branchesGETLists the branches of a Travis CI repository.

Broadcast, 1 operation

  • list_broadcastsList broadcastsGETLists Travis CI broadcasts visible to the current user.

Lint, 1 operation

  • lint_travis_ymlLint travis ymlPOSTLints a .travis.yml document and returns warnings.

Log, 1 operation

  • get_job_logGet job logGETReturns the log of a Travis CI job.

Request, 1 operation

  • trigger_buildTrigger buildPOSTTriggers a custom Travis CI build via the Requests API.

Use Travis CI from Claude Code, Cursor or Codex

Connect Travis CI in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Travis CI operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Travis CI

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Travis CI once

    Add your Travis CI connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

Travis CI integration FAQ

What can you do with the Travis CI integration?

LiveContext exposes 24 operations on Travis CI, covering repository, build, job and env var. Common uses include retry a flaky build, abort a runaway build and expand build.created_by.

Popular integrations

Browse the whole catalog