mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
30 lines
551 B
Plaintext
30 lines
551 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# travis
|
|
|
|
> Interface with Travis CI.
|
|
> More information: <https://github.com/travis-ci/travis.rb#command-line-client>.
|
|
|
|
- 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`
|
|
|
|
- Display version:
|
|
|
|
`travis version`
|