travis
Travis CI command-line interface
TLDR
Login to Travis CI
SYNOPSIS
travis [options] command [args]
DESCRIPTION
travis is the official command-line client for Travis CI, a continuous integration and deployment service. It provides programmatic access to CI operations including repository management, build monitoring, secret encryption, and configuration validation, all from the terminal.
Authentication is handled through GitHub OAuth tokens, and most operations require being logged in. The CLI can enable or disable CI for repositories, view build status and logs, restart builds, and manage encrypted environment variables. The encrypt command generates per-repository encrypted strings that can be safely committed to version control.
The lint subcommand validates `.travis.yml` configuration files to catch syntax errors and misconfiguration before pushing. The CLI also supports managing caches, viewing branch status, and interacting with the Travis CI API directly.
PARAMETERS
login
Authenticate.enable
Enable repo.status
Build status.logs
Build logs.lint
Validate config.encrypt DATA
Encrypt secret.restart
Restart build.--add
Add to yaml.-r, --repo SLUG
Repository.
CAVEATS
Requires Travis CI account. travis-ci.org shut down. Use travis-ci.com.
HISTORY
Travis CI was founded in 2011 as a hosted CI service for GitHub. The CLI provides command-line access to CI operations.
