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
2
votes
1 answer

Local testing of Perl repository using Travis CI (with docker)

I'd like to fix a bug in a Perl repository (now owned by me, I just submitted some pull requests), but at the moment it's failing its Travis CI tests (before my pull requests). My goal is to be able to run Travis CI tests locally starting from the…
Andrea T.
  • 920
  • 4
  • 15
2
votes
0 answers

How to download Android test report from Travis CI?

I am running Android instrumentation tests based on the Android testing library on Travis CI. Once the connectedDebugAndroidTest Gradle task finished it outputs the local path to a HTML test report which Gradle generates. Execution failed for task…
JJD
  • 50,076
  • 60
  • 203
  • 339
2
votes
1 answer

How do I use travis encrypt to encrypt browserstack key?

I am having trouble getting my browserstack credentials to work on Travis. The credentials work locally if I don't encrypt the key and trigger the build from my local by just using environment variables. I am using travis encrypt, which is…
smurf
  • 349
  • 4
  • 14
2
votes
1 answer

Use OpenSSL 1.0.2 in Python (on Travis CI OSX image)?

I have OpenSSL 1.0.2 installed. $ openssl version OpenSSL 1.0.2n 7 Dec 2017 Exported compiler flags as advised. before_install: - export PATH="/usr/local/opt/openssl/bin:$PATH" - export LDFLAGS="$LDFLAGS -L/usr/local/opt/openssl/lib" - export…
Geri Borbás
  • 15,810
  • 18
  • 109
  • 172
2
votes
1 answer

Travis-CI openssl aes-256-cbc bad decrypt "Wrong final block"

i use following travis-ci-cli command to create an encrypted-file: travis encrypt-file src/env/data.ts src/env/data.ts.enc --add It creates the file and related key and value on the Travis-CI. You can see error of travis Why do i get the wrong…
Justin Mind
  • 93
  • 10
2
votes
1 answer

Skip a travis.yml deploy for opened pull requests?

I have a Travis repo enabled for pull requests. When a pull request is opened, the travis.yml triggers both the tests and the deploy script. I would like opened pull requests to run all tests, but not run the deploy script unless merged. Below is a…
YepNamesJames
  • 281
  • 1
  • 2
  • 15
1
vote
0 answers

Travis Build is Stuck on Building fresh packages step

My build for a react-nextjs application was working properly till a few days ago. But for some reason, deployments are stuck on the Building fresh packages step. We use yarn. And I checked the logs via debug mode of Travis. I followed these steps to…
sbb
  • 529
  • 3
  • 25
1
vote
0 answers

Set TravisCI to publish package only when push is on master

I'm looking for a way to make an autodeploy of NuGet packages after the compilation. So far I've successfully set the CI/CD on TravisCI but I want to publish the NuGet package only from the master branch and not from the pull request branch. This is…
1
vote
2 answers

Travis cli installation fails on mac

Attempt to install travis cli using sudo gem install travis -v 1.8.9 --no-rdoc --no-ri generates the following error logs: "pkg-config --exists libffi" package configuration for libffi is not found "xcrun clang -o conftest…
1
vote
1 answer

Android-Travis CI. Unable to login using travis login --pro command

I need to encrypt keystore file. I've installed travis using gem. I can't able to login travis using my github account. Already travis is linked with github account. Ruby: Ruby 2.0.0-p645 RubyGem : 2.4.8 CLI : 1.8.8 **Error:** Last…
Kamal
  • 1,051
  • 1
  • 11
  • 24
1
vote
1 answer

How to configure a travis-ci to start apache kafka instance locally inside the build

I have a CI project using travis. My code uses kafka as the message queue. Since i am running several travis builds at once I am considering about running a local kafka instance inside each of travis VM for only that job. What is the best way to…
Sahan Maldeniya
  • 1,028
  • 1
  • 14
  • 21
1
vote
0 answers

How to build Visual Studio 2017 solution file for C++ in Travis CI?

I have a project in GitHub which is written in VC++17. How to build it from Travis CI? What should be the content of YAML file?
1
vote
2 answers

How to use travis with multiple OS's + docker in a Matrix config

I am developing an opensource and multi-platform. I run tests on Travis to test and generate builds on these different platforms. To use multiple OS's I have the following in my travis.yml file: matrix: include: - os: linux dist:…
1
vote
1 answer

travis-ci path to the shared library or how to link shared library to python

ci professionals, I cannot figure out why this code cannot find the shared library. Please see the log https://pastebin.com/KvJP9Ms3 [31mImportError while importing test module…
Alex
  • 118
  • 5
1
vote
0 answers

Travis automerge/deploy

I'm trying to get Travis CI working to auto-deploy and merge branches to master. Here is the script I'm using. On build success, it says that it is skipping deploy because it's not on the right branch, and that's why I want it to merge the branch is…