82
votes
What's the difference between travis-ci.org and travis-ci.com?
Travis CI originally created two separated platforms to differentiate between private repos / paid (travis-ci.com) and public repos / free (travis-ci.org).
However, as of May 2018, new users and ...
17
votes
What's the difference between travis-ci.org and travis-ci.com?
As of May 2018, travis-ci.org is scheduled to shut down and should no longer be used. Please refer to beatngu13's answer for updated information.
Aside from pricing model, the two sites are identical....
13
votes
Accepted
Key attributes of Continuous Integration (CI) software
In general, there are five main differences between different CI software solutions.
Cost: Is the software open source and free or proprietary? Does your DevOps team already have a budget for ...
10
votes
Accepted
How do I configure Travis CI build testing for a Java Eclipse project?
The easiest method is to have Eclipse generate an Ant build script for you.
Right click on your project in the Package Explorer and select Export in the context menu. Choose the export type General ->...
10
votes
Accepted
Problem in integrating Travis-CI with core PHP projects
You need to write some unit tests and set the script variable in your .travis.yml to actually run a file.
By default, Travis CI runs the command phpunit without any arguments. When this happens, ...
6
votes
Key attributes of Continuous Integration (CI) software
The SCM system you use can be essential in making your CI choice.
Using a private/intranet solution, for example, pretty much excludes CircleCI and TravisCI as these only support cloud-based GitHub ...
6
votes
Is it possible to autodeploy on every commit in a specific branch using Travis CI and GitHub?
Instead of using Travis' deployment features, build the deployment logic in to your normal "test" script(s). For a PaaS this might be as simple as pushing to another git remote if all tests pass, but ...
5
votes
GCE metadata not defined on Travis CI
Setting
export GOOGLE_APPLICATION_CREDENTIALS=${TF_CREDS}
solved the issue.
5
votes
Azure Equivalent for CodeDeploy
Azure has a robust CI/CD pipeline which is much easier to use than CodeDeploy on AWS. It is called Build/Release pipelines under Azure DevOps. It allows you to configure multiple environments with ...
4
votes
Accepted
Is it possible to autodeploy on every commit in a specific branch using Travis CI and GitHub?
Travis CI supports deployment on branch release by using the following syntax:
deploy:
on:
branch: release
The problem is that GitHub does not support it.
As per GitHub Releases Uploading ...
4
votes
Accepted
Deploy to server after merge to master branch
One could use conditional builds https://docs.travis-ci.com/user/conditional-builds-stages-jobs/
If code is merged into master one could decide to deploy code to production, but I personally prefer a ...
4
votes
Accepted
How do you hide sensitive information held in variables on a docker-compose file
Use environment variables on your host that are read by your docker-compose.yml file. There are a couple ways to accomplish this. One way is to create a .env file on the host that contains your ...
4
votes
Tools used in enterprise level to transfer build artifacts from CI server to live server
Try LFTP that has commands to mirror or parallel copy. LFTP can run over many protocols.
The likely problem you have is that you are transfering a lot of data from a build service to a single vm over ...
3
votes
Accepted
Git-based CI/CD Pipeline for Monorepo
The fact that all the code is in a single repository doesn't mean that all the code is changing every time a commit is pushed. I would first make the "pathways" in the code explicit. E.g. perhaps you ...
3
votes
Accepted
Geographically, where are the travis-ci jobs run?
Where are the travis-ci servers located? Does travis-ci leverage AWS EC2?
According to this documentation, the servers are located in the USA and AWS EC2 is used as well.
Your code, depending on ...
2
votes
What's the difference between travis-ci.org and travis-ci.com?
There is one profound difference which is a bit hard to find:
Unfortunately the free OSS public repos at travis-ci.com are restricted to 1000 free build minutes after which one will have to beg for ...
2
votes
Whitelist Travis CI to Google Cloud SQL
You can find the IP addresses of the Travis build machines here. If you add the IP addresses of the Travis infrastructure you use to your whitelisted IPs in Cloud SQL it should work. Keep in mind ...
2
votes
Deploy to server after merge to master branch
The updated deploy script in the question supports the following workflow (and requires this server setup):
Create a feature branch and push commits to it
Each push deploys the code to the staging ...
2
votes
Accepted
Storing my Lambda Functions on GitHub
Your idea will work. The organization I work for maintains some open source examples how to do deploy to AWS using a pipeline. In comparison we use GitLab for the purpose. Instead of Travis we use ...
2
votes
Accepted
dotnet not found on travis for an F# project
OK - found the solution myself. It's a kind of tricky one. Even though my project is written in F#, I still have to set
"language": "csharp"
in my .travis.yml file. That's a bit counter-intuitive, ...
2
votes
Accepted
How to get 'diff' on Windows TravisCI machines?
When git is installed it usually doesn't add the diff executable to the path because it would conflict with other versions of diff native to Windows, for example, the Compare-Object alias in ...
1
vote
Travis tests for R package fail with little explanation
If you are using the recommended setting for R packages of upgrading warnings to errors, i.e. with this line in .travis.yml:
warnings_are_errors: true
then the place to look is the previous heading ...
1
vote
Testing R package on Travis fails because of TeXLive incompatible versions
This issue is due to the CTAN mirrors having yet to update. The issue appears in the Travis R community forum:
might be related to the recent switch to TexLive-2019 as the LaTeX package manager ...
1
vote
Accepted
Docker Hub to VPS
One typical solution is to add a deployment task to your Travis CI pipeline. This task may, for example, run a command on your Ubuntu VPS to pull and run the :latest image. You could use any number ...
1
vote
Accepted
TravisCI did not run after adding more configuration to .travis.yml file
One of the headaches of .yml files is the indentation. So the parse error I was getting in the Request tab was saying no newline added. I was not clear whether that meant it needed a new line or was ...
1
vote
Tools used in enterprise level to transfer build artifacts from CI server to live server
Not sure this helps you directly, but one option is to build the application within your CI build and push the (versioned) binaries/packages into an artifact repositorie like Sonatype Nexus or JFrog ...
1
vote
Docker Hub automated builds and Travis CI
If you're married to Docker Hub, you could use a webhook to notify Travis of the need to start it's job.
However, I solve this problem using Quay.io - it has the robot account (you refer to "service ...
1
vote
Multi platform test on Travis-CI using Docker
This functionality is built straight into travis. Have a look at here.
Secondly you should not need to specify a branch as part of your make script as travis will triggered on a specific branch and ...
1
vote
CI/CD free for hobby side projects. Jenkins on Heroku as alternative, with ephemeral dyno
You should try CI / CD like:
Codeship ( free tier, and totally free for open source projects )
travisci
circleci, ...
Openshift, as @JamesKnott mention, but this one is a full PaaS, so it is meant ...
1
vote
Accepted
What are the security risks of CD in an open source project?
You essentially have three threats here:
Someone could modify .travis-ci and use that to exfiltrate the unencrypted key material.
You could accidentally check-in or publish the decrypted key material ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
travis-ci × 30continuous-integration × 6
github × 5
continuous-deployment × 4
docker × 3
git × 3
jenkins × 2
amazon-web-services × 2
docker-compose × 2
deployment × 2
google-cloud-platform × 2
terraform × 1
azure × 1
dockerfile × 1
windows × 1
cicd × 1
gitlab-ci-runner × 1
continuous-delivery × 1
cloud × 1
aws-lambda × 1
node.js × 1
servers × 1
php × 1
dockerhub × 1
release × 1