# 使用 Homebrew, apt 安装 travis

查看 travis 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:travis
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install travis
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install travis
```

  证据: Debian stable package indexes: travis from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## 软件包事实

- **软件包键:** brew:travis
- **软件包管理器:** Homebrew
- **版本:** 1.14.0
- **来源摘要:** Command-line client for Travis CI
- **主页:** <https://github.com/travis-ci/travis.rb/>
- **仓库:** <https://github.com/travis-ci/travis.rb>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- travis (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.14.0
## 项目历史与用法

The Travis CI Client is the Ruby `travis` gem and command-line client for interacting with Travis CI services. The official README describes it as both a CLI and Ruby library that can talk to travis-ci.com or a custom Travis CI setup using a GitHub account.

### 项目历史

The client belongs to the era when Travis CI became a default continuous-integration service for GitHub-hosted open-source projects. Its README is structured around a large CLI command set, a Ruby client library, installation instructions, troubleshooting, and version history, reflecting its dual role as both user tool and programmable Travis API wrapper.

The CLI's command surface tracks the lifecycle of Travis CI usage from local setup to build operations: logging in, choosing API endpoints, enabling or disabling repositories, validating `.travis.yml`, encrypting secrets, managing environment variables and SSH keys, viewing build history, streaming logs, restarting jobs, and opening builds in a browser.

The README also documents the transition from travis-ci.org and travis-ci.com endpoint shortcuts to the current API endpoint model, plus support for Travis CI Enterprise or custom deployments. That makes the package a historical marker for the hosted-CI and GitHub integration period of developer tooling.

### 采用历史

Adoption followed Travis CI's GitHub-centered workflow. Developers installed the gem or package, authenticated with GitHub-backed Travis accounts, and used the `travis` executable to initialize projects, lint `.travis.yml`, enable repositories, inspect builds, and manage encrypted configuration without leaving the terminal.

The batch input records Homebrew, Debian, and Ubuntu packaging, showing that the client was not only a RubyGems artifact but also a system package for users who expected CI tools to be installable from their operating-system package manager.

### 使用方式

Common package-nerd usage centers on repository automation: `travis init` creates CI configuration, `travis lint` validates `.travis.yml`, `travis encrypt` and `travis encrypt-file` help place secrets in build configs, `travis logs` streams test logs, and `travis status`, `show`, `history`, `restart`, and `cancel` operate on builds and jobs.

Authentication and endpoint management are also part of the tool's identity. The README documents `travis login`, token handling, endpoint selection for travis-ci.com or travis-ci.org, and an interactive console for inspecting Travis API entities from Ruby.

### 为什么软件包爱好者会关心

For package-manager users, the Travis CLI represents the period when CI configuration became a dotfile-and-terminal workflow. It let maintainers bootstrap `.travis.yml`, encrypt secrets, and debug remote CI jobs from a local shell, making CI feel like another command-line development tool.

Its history matters because it sits at the intersection of RubyGems, Homebrew, Debian/Ubuntu packages, GitHub OAuth, and hosted CI APIs. The package is less a single-purpose binary than a compact interface to the operational culture around Travis CI.

### 时间线

- 2010s: Travis CI client develops as a Ruby gem with both CLI and Ruby library interfaces.
- 2010s: README documents travis-ci.org, travis-ci.com, and Enterprise endpoint support.
- 2020s: README and docs continue to point users at travis-ci.com and API-backed CLI workflows.

### Related projects

- Related to Travis CI's hosted service and API documentation.
- Comparable in role to other CI provider CLIs that manage repository setup, build status, logs, secrets, and deploy settings.
- Closely tied to `.travis.yml`, the repository-local Travis CI build configuration file.

### 来源

- Batch input fields: current_curation.config-file-location, current_curation.credentials-file-location, source_facts.package-manager
- Official README: https://github.com/travis-ci/travis.rb#readme
- Official Travis CI documentation: https://docs.travis-ci.com/


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.travis/config.yml

## Credential files

- Unix: ~/.travis/config.yml
## 其他软件包管理器记录

- Debian apt - travis - 220729-1: normalized package name match | Debian stable package indexes: travis from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | trajectory analyzer and visualizer | http://www.travis-analyzer.de
- Ubuntu apt - travis - 220729-1: normalized package name match | Ubuntu 24.04 LTS package indexes: travis from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | trajectory analyzer and visualizer | http://www.travis-analyzer.de


## Combined YAML source

View the package source record on GitHub. [combined/travis.yml](https://github.com/mxcl/pkgdb/blob/main/combined/travis.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
