tldr/pages/common/travis.md

25 lines
472 B
Markdown
Raw Permalink Normal View History

2020-11-01 02:16:33 +00:00
# travis
> 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`