Questions tagged [travis-ci]

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

30 questions
80
votes
3 answers

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 seem to function identically, even down to using…
Stevoisiak
  • 1,297
  • 1
  • 8
  • 16
11
votes
1 answer

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 error. Buildfile: build.xml does not exist! Build…
Stevoisiak
  • 1,297
  • 1
  • 8
  • 16
11
votes
2 answers

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 not a tagged commit. Is there any way to deploy on…
kenorb
  • 8,011
  • 14
  • 43
  • 80
11
votes
1 answer

Problem in integrating Travis-CI with core PHP projects

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 : .travis.yml File Code language: php php: -…
10
votes
2 answers

Key attributes of Continuous Integration (CI) software

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 thinking about these…
7
votes
2 answers

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 distribution, e.g. a daily/weekly HTML email newsletter,…
Jared
  • 73
  • 1
  • 6
5
votes
1 answer

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 CodeDeploy to deploy to staging (an AWS EC2). On…
fgregg
  • 151
  • 3
5
votes
1 answer

Geographically, where are the travis-ci jobs run?

Where are the travis-ci servers located? Does travis-ci leverage AWS EC2?
JSmooth
  • 53
  • 2
4
votes
1 answer

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 nutshell is (for all 4 distros): docker pull…
4
votes
2 answers

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 the production server is done before the merge is…
Moritz
  • 1,227
  • 2
  • 11
  • 24
3
votes
1 answer

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 image of my code, pushes it to DockerHub, then the…
J86
  • 259
  • 1
  • 4
  • 7
3
votes
1 answer

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 use Travis CI to do the kubernetes deployment. Is…
dwjohnston
  • 231
  • 3
  • 11
3
votes
1 answer

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 deployment workflow is: In a Travis build job, build and…
Moritz
  • 1,227
  • 2
  • 11
  • 24
2
votes
0 answers

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++. My testing fork is on GitHub at…
jww
  • 121
  • 4
2
votes
1 answer

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…
SamwelOpiyo
  • 191
  • 7
1
2