HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

travis — Interface with Travis CI. More information: <https://github.com/travis-ci/travis.rb#command-line-cli

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandinterfacetraviscliinformationwithmore

Problem

How to use the travis command: Interface with Travis CI. More information: <https://github.com/travis-ci/travis.rb#command-line-client>.

Solution

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

Code Snippets

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

Context

tldr-pages: common/travis

Revisions (0)

No revisions yet.