Questions tagged [travis-rb]

Questions about the travis ruby gem including both a command line client for Travis and a Ruby library to interface with a Travis CI service. Both work with travis-ci.org, travis-ci.com or any custom Travis CI setup.

Travis-rb is a ruby gem including both a command line client for Travis and a Ruby library to interface with a Travis CI service. Both work with travis-ci.org, travis-ci.com or any custom Travis CI setup.

5 questions
6
votes
2 answers

Install with Gem on macOS Catalina

I was trying to install Travis.rb as documented by the team. However, the location that gem tried to install to is protected by the OS. So I got an error like this: % gem install travis ERROR: While executing gem ... (Gem::FilePermissionError) …
jackxujh
  • 983
  • 10
  • 31
1
vote
1 answer

How to override .travis.yml environment variables from ruby script using travis client

I'm using the travis client to write a ruby script to interact with my TravisCI builds. I have a working .travis.yml file with a series of encrypted env vars. I'm trying to trigger the build from my script with a new env_var that overwrites one of…
0
votes
1 answer

Why do I get an error message when I install Travis on my Mac?

I execute the gem install travis on my MacBookAir with macOS Catalina version 10.15.1 Then I get an error ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /Library/Ruby/Gems/2.6.0…
stein korsveien
  • 1,047
  • 5
  • 13
  • 35
0
votes
1 answer

What are the correct Travis API calls (or library methods) to first start and watch a build and later retrieve its status and build log?

In one of my applications, I want to trigger a Travis CI build, "watch" the build as it is scheduled, run and finishes, then retrieve the final build state and the build log to output it in my app. I started by triggering a build with the API, which…
janpio
  • 10,645
  • 16
  • 64
  • 107
-3
votes
1 answer

What to do with "no .travis.yml found"?

I'm trying to set up Travis and work on xv6 (because of a university assigment), but I'm got a few errors and that "no .travis.yml found" was one that stopped me completely (I wasn't even sure of what I was doing before that, just following…
Jorvan
  • 109
  • 2
  • 13