2025-03-14 21:59:59 -06:00
|
|
|
# travis
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
> Interface with Travis CI.
|
2025-03-14 21:59:59 -06:00
|
|
|
> More information: <https://github.com/travis-ci/travis.rb>.
|
|
|
|
|
|
|
|
|
|
- Display the client version:
|
|
|
|
|
|
|
|
|
|
`travis version`
|
|
|
|
|
|
|
|
|
|
- Authenticate the CLI client against the server, using an authentication token:
|
|
|
|
|
|
|
|
|
|
`travis login`
|
|
|
|
|
|
|
|
|
|
- List repositories the user has permissions on:
|
|
|
|
|
|
|
|
|
|
`travis repos`
|
|
|
|
|
|
|
|
|
|
- Encrypt values in `.travis.yml`:
|
|
|
|
|
|
|
|
|
|
`travis encrypt {{token}}`
|
|
|
|
|
|
|
|
|
|
- Generate a `.travis.yml` file and enable the project:
|
|
|
|
|
|
|
|
|
|
`travis init`
|