Questions tagged [travis-ci]

For questions about Travic CI, a hosted continuous integration service for open source projects.

Filter by
Sorted by
Tagged with
76
votes
3answers
24k views

What's the difference between travis-ci.org and travis-ci.com?

A few of the GitHub projects I contribute to use Travis CI for build testing. However, I've noticed that some projects use travis-ci.org for build testing, while others use travis-ci.com. Both sites ...
11
votes
1answer
2k views

How do I configure Travis CI build testing for a Java Eclipse project?

I have an Eclipse Java project on GitHub. I would like to set up auto-build testing with Travis CI. However, when I enable build testing for my project, compilation always fails with the following ...
11
votes
1answer
135 views

Problem in integrating Travis-CI with core PHP projects [closed]

I am trying to integrate my project coded in core PHP, with Travis-CI but it always fails. Travis reports a failure even when I have only one file in my project. PHP file Code : <?php phpinfo(); ?...
11
votes
2answers
1k views

Is it possible to autodeploy on every commit in a specific branch using Travis CI and GitHub?

I'd like to deploy files using Travis CI and it only works for a tagged commit. When committing to the branch, there is a warning: Skipping a deployment with the releases provider because this is ...
9
votes
2answers
330 views

What CIs could build libraries written in C++/VBA and .NET (C#) projects?

I work in the IT department of automation/dev company and we are just about to implement/add CI into our set of tools. And we are having difficulties to choose the one. At the moment we've been ...
5
votes
1answer
834 views

Azure Equivalent for CodeDeploy

Right now, using AWS services we have a CI and deployment pattern that works well for us. For every commit pushed to github, Travis-CI builds the project and runs tests, if tests pass, Travis uses ...
5
votes
1answer
371 views

Geographically, where are the travis-ci jobs run?

Where are the travis-ci servers located? Does travis-ci leverage AWS EC2?
4
votes
2answers
5k views

Deploy to server after merge to master branch

I currently have continuous deployment set up with a Travis CI job. All pushes are sent to the staging server and merges to the master to the production server. The problem is that the deployment to ...
4
votes
2answers
5k views

Git-based CI/CD Pipeline for Monorepo

Are there established CI/CD strategies & best practices for working with a distributed team on a project that is utilizing monorepos? I can provide two specific use-cases: Working on content ...
4
votes
1answer
95 views

Multi platform test on Travis-CI using Docker

I am trying to write my .travis.yml to perform multi platform test on Travis-CI using Docker. The platforms I want to test on: Ubuntu 14.04 Ubuntu 16.04 Debian 8 Debian 9 The whole concept in a ...
3
votes
1answer
546 views

How do you hide sensitive information held in variables on a docker-compose file

I am fairly new to DevOps. I have managed to build myself a CI/DI pipeline for my open source project. As soon as I check-in some code into GitHub, Travis CI takes over, it builds a fresh docker ...
3
votes
1answer
333 views

Docker Hub automated builds and Travis CI

I'm wanting to create a basic 'on new commits to master, rebuild the images and deploy to kubernetes' pipeline. Docker Hub has its concept of automated builds on new commits, but I'd still need to ...
3
votes
1answer
75 views

What are the security risks of CD in an open source project?

In the processes of setting up continuous deployment for an open source project with Travis I came across a predicament, can the encrypted private key be easily exfilitrated? For context, the ...
2
votes
1answer
280 views

Storing my Lambda Functions on GitHub

Will it be practically possible to build some pipeline; starting from rapid AWS Lambda function development using blueprints, to store them later on a new GitHub repo, that is linked to some CICD ...
2
votes
1answer
93 views

Whitelist Travis CI to Google Cloud SQL

I'm having trouble working out how exactly I can whitelist my TravisCI runner for testing a python adaptor talking to a Google Cloud SQL service. The Cloud SQL will only accept connections from IPs ...
2
votes
0answers
28 views

How to exit Migration purgatory on Travis CI for free/open source project?

My apologies if the title does not make much sense. I'm not sure the name of the limbo I am in. I contribute to several free/open source projects. For example, one of the projects is Wei Dai's Crypto+...
1
vote
2answers
69 views

Tools used in enterprise level to transfer build artifacts from CI server to live server

I recently learnt some basic devops and set my server on Digitalocean droplet with travis CI. As there is no travis deploy provider supports for Digitalocean, I have to write my own deploy script. ...
1
vote
1answer
100 views

dotnet not found on travis for an F# project

I'm new to both travis and this website, so please bear with me ;). I've been trying to set it up to work with my GH project. The repo is visible on travis side, but I get the following error while ...
1
vote
1answer
90 views

Travis tests for R package fail with little explanation

I am writing an R package and using Travis for Continuous Integration. Tests and R CMD CHECK pass locally and for 3 versions of R under Linux (oldrel, release, and devel). All three versions fail ...
1
vote
1answer
124 views

Testing R package on Travis fails because of TeXLive incompatible versions

I am writing an R package and using Travis for Continuous Integration. The tests on macOS fail because the system has a newer version of TeXLive and is unable to install the inconsolata font to build ...
1
vote
1answer
133 views

Docker Hub to VPS

Note: I am a .NET Developer that is dabbling in DevOps. I want to learn. Current Situation: I have my .NET Core project dockerised. It sits on GitHub and is Open Source. Using Travis CI; as soon as ...
1
vote
1answer
81 views

TravisCI did not run after adding more configuration to .travis.yml file

I added some AWS keys to my .travis.yml file so that it would deploy my application over to ElasticBeanstalk, but after I committed the changes to the file and pushed to master, nothing happened. I ...
1
vote
1answer
391 views

CI/CD free for hobby side projects. Jenkins on Heroku as alternative, with ephemeral dyno

I have four side projects which are my hobby (NOT A JOB! NOT A WORK!). I work on that at night, when I have time and when I want to. All projects are javascript backend and frontend. Just ...
1
vote
1answer
34 views

Is icmp blocked at travis-ci?

I have a ping -c 1 -q n.n.n.n command that fails only at Travis CI. Is ping blocked there?
1
vote
2answers
331 views

If I set up a Travis CI agent, will it be independent of Travis's existing infrastructure?

Is this correct that if I decide to setup an own TravisCI agent, I will be enabled to be independent of the existing distributed Travis computation network?
0
votes
1answer
16 views

How to get 'diff' on Windows TravisCI machines?

Attempt was choco install git -y, but it does not seem to be available: The command "diff -u <(echo -n) <(gofmt -d ./)" exited with 2. diff: /dev/fd/62: No such file or directory Windows ...
0
votes
1answer
399 views

GCE metadata not defined on Travis CI

I have tried initializing terraform code in Travis CI but an error keeps coming up; Failed to load state: Failed to open state file at gs://{{project_id}}/terraform/state/default.tfstate: Get ...
0
votes
1answer
24 views

How can I determine which command / step failed within a travis build [closed]

So I have a CICD travis build that failed... How do I know which line / step is the culprit?
0
votes
1answer
27 views

TravisCI: Pandas version advanced (Jan 2021) numpy is now incompatible

I am very much a TravisCI beginner. That said, I maintain python package mplfinance and we run a TravisCI test suite for every Pull Request. We run the same tests for py36, py37 and py38. ...
0
votes
0answers
10 views

How I can cache the built layers on docker build using travis.ci?

In my project I use the following .travis.yml language: shell os: linux dist: xenial git: depth: false services: - docker env: global: - LATEST=39 - LATEST_LTS=39 jobs: - "...
0
votes
1answer
48 views

TravisCI build continues to fail even after changing alpine version

So I ran my Docker build with TravisCI and I got a failure like so: FAIL src/App.test.js ● Test suite failed to run TypeError: Cannot assign to read only property 'Symbol(Symbol.toStringTag)' ...