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
1
vote
2 answers

Is there a way to build a VS2017 solution which has .Net Core and .Net Framework projects in Travis CI?

I'm trying to build a solution in Travis CI with two kinds of projects, .Net Core and .Net Framework, but I haven't achieved it, it can build a solution with only .Net Framework or only .Net Core projects, but not for both in the same solution. I…
0
votes
0 answers

how to get git remote push branch name dynamically in script/Travis?

I am having a shell script basically whenever a user is making any changes in git file travis will start running and in Travis YAML file I have specified shell script path and shell script basically compare my current_working_branch with remote push…
Shailesh Yadav
  • 301
  • 2
  • 16
0
votes
1 answer

Fast_finish option to finish execution of scripts in Travis

I’m traying to finish the execution of the remaining scripts in a Travis pipeline as soon as one of them fails in any stage. So that if any of those scripts fails in the stage, no more scripts are executed and the remaining jobs in the stage are…
X T
  • 445
  • 6
  • 22
0
votes
1 answer

Can i run a script after a successful build in travis CI?

I am trying to run a script after a successful build in Travis CI. the script makes a rest call. If I run the script in the travis.yml file in the after-success part it is recognizing only the first line and not executing the other lines. The script…
0
votes
1 answer

Error in Travis CI build, bad decrypt, digital envelope routines:EVP_DecryptFinal_ex:wrong final block length:evp_enc.c:518:

I've been struggling a lot trying to complete this trailhead module. The first issue was while trying to log in with GitHub creds, which I solved using the GitHub-token flag. Now, after I Kick-off Continuous Integration, it keeps failing over and…
0
votes
1 answer

Can we use env variable as a value for a ENV variable in container of openshift deployment?

I have to login to Openshift with api and I am mentioning apikey in the deployment.yaml file like below: apiVersion: extensions/v1beta1 kind: Deployment metadata: name: abc spec: replicas: 1 template: metadata: labels: app:…
Mansi
  • 111
  • 1
  • 10
0
votes
1 answer

Store .travis.yml in .travis folder or elsewhere

Instead of using .travis.yml in the root of a project, is it possible to store it in a folder called .travis or similar?
Alexander Mills
  • 90,741
  • 139
  • 482
  • 817
0
votes
1 answer

TRAVIS CI : ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

I have created a sample project [Django/Python] in a private repo on GitHub. Recently, I have a added a sample .travis.yml file to it in order to get CI rolling. Now issue is my tests [I am using Pytest suite] pass when I run the command pytest on…
Aniket Maithani
  • 845
  • 1
  • 10
  • 24
0
votes
1 answer

Not able to do git reset to previous commit in travis

While building my code in travis, in the case of failure I want reset HEAD to the previous commit and perform some action. The problem is when in travis.yml I do: after_failure: - git reset --hard HEAD@{1} It always points to the latest commit.…
0
votes
2 answers

Run lint on golang repo in travis

I run locally on my project the following command gometalinter --config=gometalinter.json ./... at the beginning I got some errors and I was fixed them all! now I run the same command exaclty in Travis script and I got vendor errros like …
07_05_GuyT
  • 2,787
  • 14
  • 43
  • 88
0
votes
1 answer

How to run Integration just when merging to master

I've Travis CI which is working as expected for Go application language: go go: - "1.10.x" script: - go get -v -t -d ./... - go test -v ./... This CI takes about a 60-80 sec to run. The CI is triggered in two scenarios Submitting to new…
user6124024
0
votes
1 answer

Composer update error on Travis CI

I have a composer update error during in one of my Travis CI tests: https://travis-ci.org/JoryHogeveen/view-admin-as/jobs/399186175 The weird thing is that it only keeps failing with this particular test. All other tests (running the same config)…
Jory Hogeveen
  • 320
  • 2
  • 8
0
votes
1 answer

Travis pr failed, push passed

The branch was previously functional, then merged to master and the builds on master failed. Master was reverted, then master was merged into this branch and some fixes were made. When attempting to merge back to master, the build failed again with…
pam
  • 113
  • 1
  • 10
0
votes
1 answer

Installation of travis fails on ubuntu 16.04

I'm trying to install travis on ubuntu but keeps failing. How can I solve this? sudo gem install travis Building native extensions. This could take a while... ERROR: Error installing travis: ERROR: Failed to build gem native…
bmvr
  • 817
  • 2
  • 9
  • 25
0
votes
0 answers

Trigger a job from command line

How to trigger a job on-demand on a disabled repo ? The doc is not clear about that,https://docs.travis-ci.com/api There are apis to restart jobs/builds, but not to start. I can't find api to enable / disable repository.
user4466350