# \#cli

**URL:** https://travis-ci.community/tag/cli/40.md

[Latest](https://travis-ci.community/latest.md) · [Categories](https://travis-ci.community/categories.md) · [Tags](https://travis-ci.community/tags.md)

---

## [Encrypt-file fails and returns with try to login with --org](https://travis-ci.community/t/encrypt-file-fails-and-returns-with-try-to-login-with-org/13231)

<div class="topic-metadata">

**Author:** [@zaro0508](https://travis-ci.community/u/zaro0508)\
**Replies:** 0\
**Last updated:** [August 22, 2022, 9:29pm UTC](https://travis-ci.community/t/encrypt-file-fails-and-returns-with-try-to-login-with-org/13231 "2022-08-22T21:29:08Z")

</div>

using the Travis CI CLI ver 1.11.1 on OSX 12.3.1 When attempting to run encrypt-file I get a message that says… “not logged in - try running travis login --org”. Obviously --org has been completely disabled so I can ev…

---

## [How to get a job number from the organisation repository?](https://travis-ci.community/t/how-to-get-a-job-number-from-the-organisation-repository/11568)

<div class="topic-metadata">

**Author:** [@ExtraExtremeERA](https://travis-ci.community/u/ExtraExtremeERA)\
**Replies:** 2\
**Last updated:** [May 15, 2021, 5:25pm UTC](https://travis-ci.community/t/how-to-get-a-job-number-from-the-organisation-repository/11568 "2021-05-15T17:25:41Z")

</div>

hello, i need to build artifact (.jar) with the job number, i was reading travis api V3 documentation, but i still don’t know how to get my github organisation id (i am the owner of this organisation) to get the reposito…

---

## [Unable To Setup GitHub Releases Due To "RuntimeError: NotFound"](https://travis-ci.community/t/unable-to-setup-github-releases-due-to-runtimeerror-notfound/10949)

<div class="topic-metadata">

**Author:** [@postables](https://travis-ci.community/u/postables)\
**Replies:** 1\
**Last updated:** [January 3, 2021, 6:31pm UTC](https://travis-ci.community/t/unable-to-setup-github-releases-due-to-runtimeerror-notfound/10949 "2021-01-03T18:31:04Z")

</div>

I’m unable to setup github releases for my personal account, but I’m able to set it up for organizations I’m apart of. I"m able to login via the CLI but setting up releases fails. I’ve included the output from when I’m t…

---

## ['travis lint' still doesn't support matrix: include: in .travis.yml](https://travis-ci.community/t/travis-lint-still-doesnt-support-matrix-include-in-travis-yml/5212)

<div class="topic-metadata">

**Author:** [@HariSekhon](https://travis-ci.community/u/HariSekhon)\
**Replies:** 1\
**Last updated:** [September 30, 2019, 9:35pm UTC](https://travis-ci.community/t/travis-lint-still-doesnt-support-matrix-include-in-travis-yml/5212 "2019-09-30T21:35:40Z")

</div>

travis lint Warnings for .travis.yml: \[\*\] in matrix.allow\_failures section: specified python, but setting is not relevant for ruby in matrix.include section: unexpected key language, dropping in matrix.include sec…

---

## ["mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h" building the Travis gem](https://travis-ci.community/t/mkmf-rb-cant-find-header-files-for-ruby-at-usr-lib-ruby-include-ruby-h-building-the-travis-gem/4527)

<div class="topic-metadata">

**Author:** [@dregad](https://travis-ci.community/u/dregad)\
**Replies:** 3\
**Last updated:** [August 8, 2019, 6:58am UTC](https://travis-ci.community/t/mkmf-rb-cant-find-header-files-for-ruby-at-usr-lib-ruby-include-ruby-h-building-the-travis-gem/4527 "2019-08-08T06:58:19Z")

</div>

I’m trying to validate my travis.yml file locally. Following directions in online validation The provided link leads to http://lint.travis-ci.org/, which states that the tool is deprecated command-line validation …

---

## [Travis encrypt not working](https://travis-ci.community/t/travis-encrypt-not-working/3169)

<div class="topic-metadata">

**Author:** [@wheelerlaw](https://travis-ci.community/u/wheelerlaw)\
**Replies:** 2\
**Last updated:** [April 30, 2019, 7:29pm UTC](https://travis-ci.community/t/travis-encrypt-not-working/3169 "2019-04-30T19:29:44Z")

</div>

When I run this command to encrypt my GitHub API key: wlaw@localhost:~/px$ travis encrypt --add env --override --org GITHUB\_TOKEN=c8978b8442e7d57b231f8ce64b3581750af7566b (don’t worry, I already invalidated that key) I…

---

## [Can't setup releases using token](https://travis-ci.community/t/cant-setup-releases-using-token/2845)

<div class="topic-metadata">

**Author:** [@kenorb](https://travis-ci.community/u/kenorb)\
**Replies:** 0\
**Last updated:** [March 30, 2019, 2:27am UTC](https://travis-ci.community/t/cant-setup-releases-using-token/2845 "2019-03-30T02:27:10Z")

</div>

I’m trying to add releases into .travis.yml for the public repository. I’ve created a token in GitHub with public\_repo & repo\_deployment I’m using “travis” CLI to setup releases using GitHub token, but it fails. $ tra…

---

## [Add new deployment provider](https://travis-ci.community/t/add-new-deployment-provider/2318)

<div class="topic-metadata">

**Author:** [@Guseyn](https://travis-ci.community/u/Guseyn)\
**Replies:** 0\
**Last updated:** [February 16, 2019, 6:15pm UTC](https://travis-ci.community/t/add-new-deployment-provider/2318 "2019-02-16T18:15:59Z")

</div>

Is there any way to add new provide in deploy section of .travis.yml, because when I use travis setup \[provider name\] I have to use --force and it rewrites deploy section, but I want to be able to add new provider there. …

---

## [Use travis encrypt to set multiple notifications.email.recipients](https://travis-ci.community/t/use-travis-encrypt-to-set-multiple-notifications-email-recipients/976)

<div class="topic-metadata">

**Author:** [@ibc](https://travis-ci.community/u/ibc)\
**Replies:** 1\
**Last updated:** [November 19, 2018, 12:08pm UTC](https://travis-ci.community/t/use-travis-encrypt-to-set-multiple-notifications-email-recipients/976 "2018-11-19T12:08:18Z")

</div>

Just wondering how to set multiple email addresses into the notifications.emails.recipients array in .travis.yml. I assume it should be as follows but I’m not sure since, obviously, I cannot check it: $ travis encrypt "…
