2020-11-01 02:16:33 +00:00
|
|
|
# travis
|
|
|
|
|
2021-05-20 21:13:41 +01:00
|
|
|
> Command-line client to interface with Travis CI.
|
2020-11-01 02:16:33 +00: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`
|