Questions tagged [travis-ci-cli]

Travis CI is a hosted continuous integration service for the open source community. It is integrated with GitHub. This tag is used to talk about its CLI client.

See the Travis' documentation for further information.

For support, please file any requests with the travis-ci GitHub issue tracker.

47 questions
22
votes
6 answers

package configuration for libffi is not found in macOS while installing travis-cli

I am trying to install gem install travis to use travis-cli as per reference https://rubygems.org/gems/travis but getting below error. Tried solution mentioned here https://github.com/ffi/ffi/issues/653 : brew reinstall libffi export…
Avinash Dalvi
  • 8,551
  • 7
  • 27
  • 53
16
votes
3 answers

How to login into a Travis Enterprise using Travis CLI?

I'm trying to login to an own hosted Travis Enterprise, but usual travis login and travis login --pro are trying to login to usual Travis SAAS environment
Roc Boronat
  • 11,395
  • 5
  • 47
  • 59
6
votes
3 answers

TravisCI on Raspberry Pi

I'm currently working on a Raspberry Pi related project on github, and I would like to attach it to some kind of CI system so contributors can see if they break things without having to build circuits (the project involves GPIO pins). TravisCI seems…
Madden
  • 1,024
  • 1
  • 9
  • 27
5
votes
4 answers

I have an github account and my user credintials are true. However, I can not login to Travis by using travis login --pro it always give an error

travis login --pro This command not find my account but I am sure that given username and password is true. The reason why I am sure is because I can login my github account with same username and password. travis report gives this message. An error…
YigitB.
  • 315
  • 1
  • 3
  • 9
5
votes
2 answers

Travis encrypt vars not decoded properly gibberish=[secure]

I'm trying to use some encrypted vars with travis-ci.com and they are not decoding properly when travis executes a build from a commit. You can see when it does the export it's just a gibberish VAR. The Setup: Running on Ubuntu: buster/sid I've…
Tige Phillips
  • 1,193
  • 1
  • 8
  • 7
5
votes
1 answer

Lerna Monorepos and Travis-CI

I need to setup Travis in a monorepo, I couldn't find resources. How can I setup the npm deploy for every package?
Hitmands
  • 13,491
  • 4
  • 34
  • 69
5
votes
2 answers

Is it possible to test hardware dependent code with Travis CI?

I just got to know about Travis CI and went through some of their docs. It seems to be a nice solution for open source projects. With my reading so far through Travis docs, I am doubtful whether I will be able to connect it to my personal hardware…
Naveen
  • 7,944
  • 12
  • 78
  • 165
5
votes
1 answer

how to increase no activity wait time in travis CI?

my test written for bash (which passes on my machine, test runs about 20-30 min) and I need to increase timeout for travis CI so that I can have successful build i have tried changing timeout by adding travis_wait 30 but i am getting error sudo:…
xeon zolt
  • 196
  • 3
  • 18
3
votes
1 answer

Create github issue from travis.yaml

I am looking for some ways to create a github issue from travis. I am calling some scripts in travis.yaml file and I need to create a github issue when travis is executed. I came across documents on calling github APIS using curl command. Eg: curl…
ambikanair
  • 4,004
  • 11
  • 43
  • 83
3
votes
0 answers

Running android emulator on travis-ci and Push .apk file

I have a problem to push apk file on emulator Android with travis. This is my config file. script: - adb install -r $TRAVIS_BUILD_DIR/last-app-version/myapp.apk Travis start the process to install apk and i get this in console. [100%]…
3
votes
1 answer

Can you install/use Travis Cli inside travis script?

As a part of my my customized travis build I would like to use Travis command-line client inside after_success script. I need that to trigger some operations on other travis jobs (other repositories) after each successfull build in this particular…
running.t
  • 5,329
  • 3
  • 32
  • 50
3
votes
1 answer

Travis CI - Enabling repository build via API

I can't find how to enable a repository to build in Travis CI through the API in the docs. It seems flicking the switch is a manual step, is that correct? Specifically can we flick the switch shown in the image below programmatically?
ChucK
  • 2,114
  • 1
  • 18
  • 20
2
votes
1 answer

Error: resource not found ({} ) when running travis cli command

I am getting this message whenever I try to run a travis command. This is the minimal reproducible example: $ travis version 1.11.1 $ ruby -v ruby 3.2.2 (2023-03-30 revision e51014f9c0) [arm64-darwin22] $ travis status resource not found ({} ) I am…
de.
  • 7,068
  • 3
  • 40
  • 69
2
votes
1 answer

Travis CLI: Encrypting with "travis encrypt" returns — resource not found ({"file":"not found"})

I am trying to encrypt token in .travis.yml file using command travis encrypt 123 --add deploy.api_key --pro regarding Travis CI docs. Instead I got in console resource not found ({"file":"not found"}) Prerequisites: I have installed Travis CLI on…
2
votes
1 answer

.travis.yml file should read from another file a value and use it

In my .travis.yml file I wanna read which issues is the latest at the moment in my issue file .travis.yml: env: global: - issues=$(cat "issues.txt"); matrix: include: - language: bash script: - bash…
Joergi
  • 1,527
  • 3
  • 39
  • 82
1
2 3 4