GitLab CI and Travis CI are both popular Continuous Integration (CI) tools that help automate the process of building, testing, and deploying software applications. While they share similarities, there are several key differences between GitLab CI and Travis CI.\n\n
\n
Scalability: GitLab CI provides native support for scaling horizontally, allowing you to distribute the workload across multiple machines or even multiple instances. On the other hand, Travis CI relies on dedicated infrastructure and doesn't have built-in scalability features.\n
Integration: GitLab CI is tightly integrated with GitLab, a complete DevOps platform, making it easier to manage your source code, issues, and CI/CD pipelines in one place. Travis CI, on the other hand, is standalone and can be used with any version control system.\n
Containerization: GitLab CI supports Docker containers, enabling you to build and run your pipelines within isolated environments. Travis CI provides limited support for containers but is more focused on virtual machines.\n
Configuration: GitLab CI uses a YAML-based configuration file (.gitlab-ci.yml) that allows for greater flexibility and control over pipeline stages, variables, and jobs. Travis CI also uses YAML configuration (.travis.yml) but with a slightly different syntax and configuration options.\n
Shared Runners: GitLab CI offers shared runners, which are virtual machines that can be used by multiple projects, reducing the need for maintaining dedicated infrastructure. Travis CI, on the other hand, primarily relies on dedicated runner instances.\n
Pricing: GitLab CI offers both a free Community Edition and a paid Enterprise Edition with additional features and support. Travis CI also has a free tier for open-source projects but charges for private repositories and additional build concurrency.\n\n\n
In summary, GitLab CI provides better scalability, tighter integration with GitLab, and more advanced containerization capabilities compared to Travis CI. Additionally, GitLab CI offers greater flexibility in configuration, shared runners for efficient resource utilization, and different pricing options for diverse needs.\n","content2":"","topContent":"","bottomContent":"","packageStackup":false,"screenshotImageUrl":"https://img.stackshare.io/stackup/4117032/gitlab-ci-vs-travis-ci.png","function":"Continuous Integration","path":"/stackups/gitlab-ci-vs-travis-ci","title":"GitLab CI vs Travis CI","seoUpdatedAt":null,"cachedStackDecisionsGetAdvice":{"type":"json","json":{"count":2,"edges":[{"node":{"id":"103476895397285813","user":{"id":"103476800228212753","title":null,"imageUrl":"https://img.stackshare.io/user/340565/default_d0f3eaae19f27eb672995f2e49531cf1b17ae199.jpg","thumbUrl":"https://img.stackshare.io/user/340565/thumb_d0f3eaae19f27eb672995f2e49531cf1b17ae199.jpg","username":"sxakoustos648","__typename":"User","companyName":null,"displayName":"Stratos Xakoustos"},"stack":null,"topics":[],"answers":{"count":3,"edges":[{"node":{"id":"103519271174209174","link":null,"user":{"id":"101231989792638573","path":"/glenngillen","title":"","imageUrl":"https://img.stackshare.io/user/1281/default_d46d2843ab155379d8905d53c321e08dab275db2.jpeg","username":"glenngillen","__typename":"User","companyName":"Glenn Gillen","displayName":"Glenn Gillen"},"draft":false,"topics":[],"company":null,"flagged":false,"private":false,"toTools":[],"upvoted":false,"publicId":"103519271174209174","services":[],"createdAt":"2020-01-21T03:52:02Z","fromTools":[],"viewCount":172890,"__typename":"StackDecision","bookmarked":false,"rawContent":"I think I've tried most of the CI tools out there at some point. It took me a while to get around to Buildkite because at first I didn't see much point given it seemed like you had to run the agent yourself. Eventually it dawned on me why this approach was more ingenious than I realised:\n\nRunning my app in a production (or production-like) environment was already a solved problem, because everything was already in some form of \"everything as code\". Having a test environment where the only difference was adding the Buildkite agent was a trivial addition.\n\nIt means that dev/test/prod parity is simple to achieve and maintain. It's also proven to be much easier to support than trying to deal with the problems that come with trying to force an app to fit into the nuances and constraints that are imposed by the containers/runtime of a CI service. When you completely control all of the environment the tests are running in you define those constraints too. It's been a great balance between a managed service and the flexibility of running it yourself.\n\nAnd while none of my needs have hit the scale of Shopify (I saw one of their engineers speak about it at a conference once, I can't find the video now though ð) it's good to know I can scale out my worker nodes to hundreds of thousands of workers to reduce the time it takes for my tests to run.","htmlContent":"
I think I've tried most of the CI tools out there at some point. It took me a while to get around to Buildkite because at first I didn't see much point given it seemed like you had to run the agent yourself. Eventually it dawned on me why this approach was more ingenious than I realised:\n\n
Running my app in a production (or production-like) environment was already a solved problem, because everything was already in some form of \"everything as code\". Having a test environment where the only difference was adding the Buildkite agent was a trivial addition.\n\n
It means that dev/test/prod parity is simple to achieve and maintain. It's also proven to be much easier to support than trying to deal with the problems that come with trying to force an app to fit into the nuances and constraints that are imposed by the containers/runtime of a CI service. When you completely control all of the environment the tests are running in you define those constraints too. It's been a great balance between a managed service and the flexibility of running it yourself.\n\n
And while none of my needs have hit the scale of Shopify (I saw one of their engineers speak about it at a conference once, I can't find the video now though ð) it's good to know I can scale out my worker nodes to hundreds of thousands of workers to reduce the time it takes for my tests to run.","permissions":{"edit":false,"delete":false,"__typename":"Permissions"},"publishedAt":"2020-01-21T03:52:02Z","decisionType":"giveAdvice","rootComments":[{"id":"103522048396461041","user":{"id":"103476800228212753","path":"/sxakoustos648","imageUrl":"https://img.stackshare.io/user/340565/default_d0f3eaae19f27eb672995f2e49531cf1b17ae199.jpg","__typename":"User","displayName":"Stratos Xakoustos"},"content":"WOW, Buildkite looks great! I'll throw that into consideration, thanks.","flagged":false,"replies":[],"upvoted":false,"parentId":null,"postedAt":"2020-01-21T15:38:19Z","__typename":"Comment","upvotesCount":1}],"subjectTools":[{"id":"101231773665355731","fans":280,"name":"Buildkite","path":"/buildkite","slug":"buildkite","title":"Fast, secure and scalable CI/CD for all your software projects","votes":115,"stacks":212,"imageUrl":"https://img.stackshare.io/service/577/default_2d19e0c5c214c1ba5cd484c8463d7dfe88eb2328.png","verified":true,"following":false,"__typename":"Tool","canonicalUrl":"/buildkite","followContext":null}],"upvotesCount":5,"commentsCount":1},"__typename":"StackDecisionEdge"},{"node":{"id":"104366713178886477","link":null,"user":{"id":"104366569448368716","path":"/ronenl1505","title":"","imageUrl":"https://img.stackshare.io/user/634357/default_441a8f28661f0ff52e0eed6fd3da4cdfb04e6186.jpg","username":"ronenl1505","__typename":"User","companyName":"JFrog","displayName":"Ronen Lewit"},"draft":false,"topics":[],"company":null,"flagged":false,"private":false,"toTools":[],"upvoted":false,"publicId":"104366713178886477","services":[],"createdAt":"2020-06-18T19:47:41Z","fromTools":[],"viewCount":172910,"__typename":"StackDecision","bookmarked":false,"rawContent":"I would recommend you to consider the JFrog Platform that includes JFrog Pipelines - it will allow you to manage the full artifact life cycle for your sbt, docker and other technologies, and automate all of your CI and CD using cloud native declarative yaml pipelines. Will integrate smoothly with all your other toolset.","htmlContent":"
I would recommend you to consider the JFrog Platform that includes JFrog Pipelines - it will allow you to manage the full artifact life cycle for your sbt, docker and other technologies, and automate all of your CI and CD using cloud native declarative yaml pipelines. Will integrate smoothly with all your other toolset.","permissions":{"edit":false,"delete":false,"__typename":"Permissions"},"publishedAt":"2020-06-18T19:47:41Z","decisionType":"giveAdvice","rootComments":[],"subjectTools":[{"id":"101231776033089429","fans":145,"name":"jFrog","path":"/jfrog","slug":"jfrog","title":"Universal Artifact Management","votes":0,"stacks":127,"imageUrl":"https://img.stackshare.io/service/5287/86ulJdF0_400x400.jpg","verified":true,"following":false,"__typename":"Tool","canonicalUrl":"/jfrog","followContext":null}],"upvotesCount":4,"commentsCount":0},"__typename":"StackDecisionEdge"},{"node":{"id":"103519171531941463","link":null,"user":{"id":"101232132235042642","path":"/tuanpembual","title":"DevOps Consultant","imageUrl":"https://img.stackshare.io/user/275911/default_49727c6368f939da94bce201e6c90defc92b5e99.jpeg","username":"tuanpembual","__typename":"User","companyName":"","displayName":"Estu Fardani"},"draft":false,"topics":[],"company":null,"flagged":false,"private":false,"toTools":[],"upvoted":false,"publicId":"103519171531941463","services":[],"createdAt":"2020-01-21T03:26:42Z","fromTools":[],"viewCount":172437,"__typename":"StackDecision","bookmarked":false,"rawContent":"more configurable to setup ci/cd:\n* It can provide caching when build sbt, just add this section to yml file\n* Easy to use, many documentation\n\nWeakness:\n* Need use gitlab as repository to bring more powerful configuration","htmlContent":"
more configurable to setup ci/cd:\n* It can provide caching when build sbt, just add this section to yml file\n* Easy to use, many documentation\n\n
Weakness:\n* Need use gitlab as repository to bring more powerful configuration","permissions":{"edit":false,"delete":false,"__typename":"Permissions"},"publishedAt":"2020-01-21T03:26:42Z","decisionType":"giveAdvice","rootComments":[{"id":"103521993743946230","user":{"id":"103476800228212753","path":"/sxakoustos648","imageUrl":"https://img.stackshare.io/user/340565/default_d0f3eaae19f27eb672995f2e49531cf1b17ae199.jpg","__typename":"User","displayName":"Stratos Xakoustos"},"content":"Yeah, that weakness kinda made the GitLab idea DOA. I wish they unbundled at some point because I really enjoyed using it for my POC","flagged":false,"replies":[],"upvoted":false,"parentId":null,"postedAt":"2020-01-21T15:24:25Z","__typename":"Comment","upvotesCount":0}],"subjectTools":[{"id":"101231776189486570","fans":2279,"name":"GitLab CI","path":"/gitlab-ci","slug":"gitlab-ci","title":"GitLab integrated CI to test, build and deploy your code","votes":75,"stacks":2298,"imageUrl":"https://img.stackshare.io/service/5545/9pAwHBR0.jpg","verified":true,"following":false,"__typename":"Tool","canonicalUrl":"/gitlab-ci","followContext":null}],"upvotesCount":2,"commentsCount":1},"__typename":"StackDecisionEdge"}],"pageInfo":{"endCursor":"Mw","__typename":"PageInfo","hasNextPage":false},"__typename":"StackDecisionConnection"},"company":null,"private":false,"toTools":[],"publicId":"103476895397285813","services":[],"fromTools":[],"viewCount":172840,"__typename":"StackDecision","htmlContent":"
We are a mid-size startup running Scala apps. Moving from Jenkins/EC2 to Spinnaker/EKS and looking for a tool to cover our CI/CD needs. Our code lives on GitHub, artifacts in nexus, images in ECR.\r\n\r\n
Drone is out, GitHub actions are being considered along with Circle CI and GitLab CI.\r\n\r\n
We primarily need:\r\n\r\n
\r\n
Fast SBT builds (caching)\r\n
Low maintenance overhead (ideally serverless)\r\n
Everything as code\r\n
Ease of use\r\n","publishedAt":"2020-01-13T16:15:00Z","decisionType":"getAdvice","subjectTools":[{"id":"101231773501041914","fans":9484,"name":"CircleCI","path":"/circleci","slug":"circleci","title":"Automate your development process quickly, safely, and at scale","votes":974,"stacks":12832,"imageUrl":"https://img.stackshare.io/service/190/CvqrSSFs_400x400.jpg","verified":true,"following":false,"__typename":"Tool","canonicalUrl":"/circleci","followContext":null},{"id":"101231776189486570","fans":2279,"name":"GitLab CI","path":"/gitlab-ci","slug":"gitlab-ci","title":"GitLab integrated CI to test, build and deploy your code","votes":75,"stacks":2298,"imageUrl":"https://img.stackshare.io/service/5545/9pAwHBR0.jpg","verified":true,"following":false,"__typename":"Tool","canonicalUrl":"/gitlab-ci","followContext":null},{"id":"101231777883626498","fans":423,"name":"Jenkins X","path":"/jenkins-x","slug":"jenkins-x","title":"A CI/CD solution for cloud applications on Kubernetes","votes":16,"stacks":149,"imageUrl":"https://img.stackshare.io/service/8884/5Lk6ASPJ_400x400.jpg","verified":false,"following":false,"__typename":"Tool","canonicalUrl":"/jenkins-x","followContext":null}],"upvotesCount":3},"__typename":"StackDecisionEdge"},{"node":{"id":"102651056680533966","user":{"id":"102366402938755636","title":null,"imageUrl":"https://img.stackshare.io/user/299852/default_e6c5c079eeed2f178ff111094f79fc759338903b.png","thumbUrl":"https://img.stackshare.io/user/299852/thumb_e6c5c079eeed2f178ff111094f79fc759338903b.png","username":"stackbot","__typename":"User","companyName":null,"displayName":"StackShare Editors"},"stack":null,"topics":[],"answers":{"count":6,"edges":[{"node":{"id":"101947904890588128","link":null,"user":{"id":"101232034899432889","path":"/lots0logs","title":"Senior Developer","imageUrl":"https://img.stackshare.io/user/91725/default_d310f68309ea2ce75cb5043864220cd5b7fb9769.jpeg","username":"lots0logs","__typename":"User","companyName":"Elegant Themes","displayName":"Dustin Falgout"},"draft":false,"topics":[],"company":{"id":"101231720669764301","name":"Elegant Themes","path":"/companies/elegantthemes","slug":"elegantthemes","imageUrl":"https://img.stackshare.io/company/23393/default_c3cc95684f68abf059f4d85c202ca93dcd45f85a.png","__typename":"Company"},"flagged":false,"private":false,"toTools":[],"upvoted":false,"publicId":"101947904890588128","services":[{"id":"101231773501041914","fans":9484,"name":"CircleCI","path":"/circleci","slug":"circleci","title":"Automate your development process quickly, safely, and at scale","votes":974,"stacks":12832,"imageUrl":"https://img.stackshare.io/service/190/CvqrSSFs_400x400.jpg","verified":true,"following":false,"__typename":"Tool","canonicalUrl":"/circleci","followContext":null}],"createdAt":"2019-04-18T15:32:56Z","fromTools":[],"viewCount":582287,"__typename":"StackDecision","bookmarked":false,"rawContent":"We use @{CircleCI}|tool:101231773501041914| because of the better value it provides in its plans. I'm sure we could have used Travis just as easily but we found CircleCI's pricing to be more reasonable. In the two years since we signed up, the service has improved. CircleCI is always innovating and iterating on their platform. We have been very satisfied.","htmlContent":"
We use CircleCI because of the better value it provides in its plans. I'm sure we could have used Travis just as easily but we found CircleCI's pricing to be more reasonable. In the two years since we signed up, the service has improved. CircleCI is always innovating and iterating on their platform. We have been very satisfied.","permissions":{"edit":false,"delete":false,"__typename":"Permissions"},"publishedAt":"2019-04-18T15:32:00Z","decisionType":"giveAdvice","rootComments":[{"id":"101955119470309289","user":{"id":"101231992031106975","path":"/vkhazin","imageUrl":"https://img.stackshare.io/user/5323/default_29b65117f73d31c8801f6da08f07e24e48b9fd01.jpeg","__typename":"User","displayName":"Vlad Khazin"},"content":"I prefer CircleCI over Jenkins for the following reasons:\n1. each repo has an isolated build container - no web of dependencies to manage\n2. no ocean of plugins to configure - all what you need is the yaml file and, maybe, in a custom build image\n3. decentralized execution of builds - no master/agents complexity","flagged":false,"replies":[],"upvoted":false,"parentId":null,"postedAt":"2019-04-19T22:07:41Z","__typename":"Comment","upvotesCount":4}],"subjectTools":[{"id":"101231773501041914","fans":9484,"name":"CircleCI","path":"/circleci","slug":"circleci","title":"Automate your development process quickly, safely, and at scale","votes":974,"stacks":12832,"imageUrl":"https://img.stackshare.io/service/190/CvqrSSFs_400x400.jpg","verified":true,"following":false,"__typename":"Tool","canonicalUrl":"/circleci","followContext":null}],"upvotesCount":13,"commentsCount":1},"__typename":"StackDecisionEdge"},{"node":{"id":"102027758015820922","link":{"url":"https://travis-ci.org/intuit/karate","title":"Travis CI - Test and Deploy Your Code with Confidence","imageUrl":"https://cdn.travis-ci.org/favicon-b4e438ec85b9ae88d26b49538bc4e5ce.png","__typename":"Link"},"user":{"id":"101458065489472473","path":"/ptrthomas","title":"Distinguished Engineer","imageUrl":"https://img.stackshare.io/user/280127/default_67fd3be5313805d9834811c7f8d49c52f4a1dfc4.png","username":"ptrthomas","__typename":"User","companyName":"Intuit","displayName":"Peter Thomas"},"draft":false,"topics":[],"company":{"id":"101231709485446059","name":"Intuit","path":"/companies/intuit","slug":"intuit","imageUrl":"https://img.stackshare.io/company/178/default_8f6b1f03cdb84f9f0ad45b7e9b52ccbf1fbe096f.jpg","__typename":"Company"},"flagged":false,"private":false,"toTools":[],"upvoted":false,"publicId":"102027758015820922","services":[{"id":"101690302870073732","fans":310,"name":"Karate DSL","path":"/karate-dsl","slug":"karate-dsl","title":"Open Source Web-Services Test Automation Framework","votes":85,"stacks":144,"imageUrl":"https://img.stackshare.io/service/10448/4s_HM6rX_400x400.jpg","verified":false,"following":false,"__typename":"Tool","canonicalUrl":"/karate-dsl","followContext":null},{"id":"101231773636491087","fans":9392,"name":"Travis CI","path":"/travis-ci","slug":"travis-ci","title":"A hosted continuous integration service for open source and private projects","votes":1749,"stacks":26384,"imageUrl":"https://img.stackshare.io/service/460/Lu6cGu0z_400x400.png","verified":true,"following":false,"__typename":"Tool","canonicalUrl":"/travis-ci","followContext":null},{"id":"101231773410696721","fans":283740,"name":"GitHub","path":"/github","slug":"github","title":"Powerful collaboration, review, and code management for open source and private development projects","votes":10341,"stacks":286013,"imageUrl":"https://img.stackshare.io/service/27/default_869c34d29acc794d60ecdd5d2b5bfc042a80a4ec.jpg","verified":true,"following":false,"__typename":"Tool","canonicalUrl":"/github","followContext":null},{"id":"101231773838011785","fans":118521,"name":"Java","path":"/java","slug":"java","title":"A concurrent, class-based, object-oriented, language specifically designed to have as few implementation dependencies as possible","votes":3710,"stacks":135258,"imageUrl":"https://img.stackshare.io/service/995/K85ZWV2F.png","verified":false,"following":false,"__typename":"Tool","canonicalUrl":"/java","followContext":null},{"id":"101231773830185558","fans":2537,"name":"Apache Maven","path":"/maven","slug":"maven","title":"Apache build manager for Java projects. ","votes":414,"stacks":2844,"imageUrl":"https://img.stackshare.io/package_manager/977/default_9833f2ef0bbc2a946b4cc5e9307264033361076b.png","verified":false,"following":false,"__typename":"Tool","canonicalUrl":"/maven","followContext":null}],"createdAt":"2019-05-02T18:00:38Z","fromTools":[],"viewCount":896867,"__typename":"StackDecision","bookmarked":false,"rawContent":"As the maintainer of the @{Karate DSL}|tool:10448| open-source project - I found @{Travis CI}|tool:460| very easy to integrate into the @{GitHub}|tool:27| workflow and it has been steady sailing for more than 2 years now ! It works well for @{Java}|tool:995| / @{Apache Maven}|tool:977| projects and we were able to configure it to use the latest Oracle JDK as per our needs. Thanks to the Travis CI team for this service to the open-source community !","htmlContent":"
As the maintainer of the Karate DSL open-source project - I found Travis CI very easy to integrate into the GitHub workflow and it has been steady sailing for more than 2 years now ! It works well for Java / Apache Maven projects and we were able to configure it to use the latest Oracle JDK as per our needs. Thanks to the Travis CI team for this service to the open-source community !","permissions":{"edit":false,"delete":false,"__typename":"Permissions"},"publishedAt":"2019-05-02T18:00:00Z","decisionType":"giveAdvice","rootComments":[],"subjectTools":[{"id":"101231773636491087","fans":9392,"name":"Travis CI","path":"/travis-ci","slug":"travis-ci","title":"A hosted continuous integration service for open source and private projects","votes":1749,"stacks":26384,"imageUrl":"https://img.stackshare.io/service/460/Lu6cGu0z_400x400.png","verified":true,"following":false,"__typename":"Tool","canonicalUrl":"/travis-ci","followContext":null}],"upvotesCount":9,"commentsCount":0},"__typename":"StackDecisionEdge"},{"node":{"id":"102219484712509227","link":null,"user":{"id":"102182841808695342","path":"/sungchun12","title":"","imageUrl":"https://img.stackshare.io/user/296875/default_a070a5411aacdfce03dc33d2977d0d73715c4049.png","username":"sungchun12","__typename":"User","companyName":"","displayName":"Sung Won Chung"},"draft":false,"topics":[],"company":null,"flagged":false,"private":false,"toTools":[],"upvoted":false,"publicId":"102219484712509227","services":[{"id":"101231778086278044","fans":320,"name":"Google Cloud Build","path":"/google-cloud-build","slug":"google-cloud-build","title":"Continuously build, test, and deploy.","votes":4,"stacks":492,"imageUrl":"https://img.stackshare.io/service/9309/PoHJY3K8_400x400.jpg","verified":true,"following":false,"__typename":"Tool","canonicalUrl":"/google-cloud-build","followContext":null},{"id":"101231773501041914","fans":9484,"name":"CircleCI","path":"/circleci","slug":"circleci","title":"Automate your development process quickly, safely, and at scale","votes":974,"stacks":12832,"imageUrl":"https://img.stackshare.io/service/190/CvqrSSFs_400x400.jpg","verified":true,"following":false,"__typename":"Tool","canonicalUrl":"/circleci","followContext":null},{"id":"101231773636491087","fans":9392,"name":"Travis CI","path":"/travis-ci","slug":"travis-ci","title":"A hosted continuous integration service for open source and private projects","votes":1749,"stacks":26384,"imageUrl":"https://img.stackshare.io/service/460/Lu6cGu0z_400x400.png","verified":true,"following":false,"__typename":"Tool","canonicalUrl":"/travis-ci","followContext":null}],"createdAt":"2019-06-05T14:39:15Z","fromTools":[],"viewCount":539184,"__typename":"StackDecision","bookmarked":false,"rawContent":"I use @{Google Cloud Build}|tool:101231778086278044| because it's my first foray into the CICD world(loving it so far), and I wanted to work with something GCP native to avoid giving permissions to other SaaS tools like @{CircleCI}|tool:190| and @{Travis CI}|tool:460|.\r\n\r\nI really like it because it's free for the first 120 minutes, and it's one of the few CICD tools that enterprises are open to using since it's contained within GCP. \r\n\r\nOne of the unique things is that it has the [Kaniko cache](https://cloud.google.com/cloud-build/docs/kaniko-cache), which speeds up builds by creating intermediate layers within the docker image vs. pushing the full thing from the start. Helpful when you're installing just a few additional dependencies. \r\n\r\nFeel free to checkout an example: [Cloudbuild Example](https://github.com/sungchun12/serverless_data_pipeline_gcp/blob/master/cloudbuild.yaml)","htmlContent":"
I use Google Cloud Build because it's my first foray into the CICD world(loving it so far), and I wanted to work with something GCP native to avoid giving permissions to other SaaS tools like CircleCI and Travis CI.\r\n\r\n
I really like it because it's free for the first 120 minutes, and it's one of the few CICD tools that enterprises are open to using since it's contained within GCP. \r\n\r\n
GitLab CI and Travis CI are both popular Continuous Integration (CI) tools that help automate the process of building, testing, and deploying software applications. While they share similarities, there are several key differences between GitLab CI and Travis CI.
Scalability: GitLab CI provides native support for scaling horizontally, allowing you to distribute the workload across multiple machines or even multiple instances. On the other hand, Travis CI relies on dedicated infrastructure and doesn't have built-in scalability features.
Integration: GitLab CI is tightly integrated with GitLab, a complete DevOps platform, making it easier to manage your source code, issues, and CI/CD pipelines in one place. Travis CI, on the other hand, is standalone and can be used with any version control system.
Containerization: GitLab CI supports Docker containers, enabling you to build and run your pipelines within isolated environments. Travis CI provides limited support for containers but is more focused on virtual machines.
Configuration: GitLab CI uses a YAML-based configuration file (.gitlab-ci.yml) that allows for greater flexibility and control over pipeline stages, variables, and jobs. Travis CI also uses YAML configuration (.travis.yml) but with a slightly different syntax and configuration options.
Shared Runners: GitLab CI offers shared runners, which are virtual machines that can be used by multiple projects, reducing the need for maintaining dedicated infrastructure. Travis CI, on the other hand, primarily relies on dedicated runner instances.
Pricing: GitLab CI offers both a free Community Edition and a paid Enterprise Edition with additional features and support. Travis CI also has a free tier for open-source projects but charges for private repositories and additional build concurrency.
In summary, GitLab CI provides better scalability, tighter integration with GitLab, and more advanced containerization capabilities compared to Travis CI. Additionally, GitLab CI offers greater flexibility in configuration, shared runners for efficient resource utilization, and different pricing options for diverse needs.
We are a mid-size startup running Scala apps. Moving from Jenkins/EC2 to Spinnaker/EKS and looking for a tool to cover our CI/CD needs. Our code lives on GitHub, artifacts in nexus, images in ECR.
Drone is out, GitHub actions are being considered along with Circle CI and GitLab CI.
I think I've tried most of the CI tools out there at some point. It took me a while to get around to Buildkite because at first I didn't see much point given it seemed like you had to run the agent yourself. Eventually it dawned on me why this approach was more ingenious than I realised:
Running my app in a production (or production-like) environment was already a solved problem, because everything was already in some form of "everything as code". Having a test environment where the only difference was adding the Buildkite agent was a trivial addition.
It means that dev/test/prod parity is simple to achieve and maintain. It's also proven to be much easier to support than trying to deal with the problems that come with trying to force an app to fit into the nuances and constraints that are imposed by the containers/runtime of a CI service. When you completely control all of the environment the tests are running in you define those constraints too. It's been a great balance between a managed service and the flexibility of running it yourself.
And while none of my needs have hit the scale of Shopify (I saw one of their engineers speak about it at a conference once, I can't find the video now though ð) it's good to know I can scale out my worker nodes to hundreds of thousands of workers to reduce the time it takes for my tests to run.
I would recommend you to consider the JFrog Platform that includes JFrog Pipelines - it will allow you to manage the full artifact life cycle for your sbt, docker and other technologies, and automate all of your CI and CD using cloud native declarative yaml pipelines. Will integrate smoothly with all your other toolset.
From a StackShare Community member: "Currently we use Travis CI and have optimized it as much as we can so our builds are fairly quick. Our boss is all about redundancy so we are looking for another solution to fall back on in case Travis goes down and/or jacks prices way up (they were recently acquired). Could someone recommend which CI we should go with and if they have time, an explanation of how they're different?"
We use CircleCI because of the better value it provides in its plans. I'm sure we could have used Travis just as easily but we found CircleCI's pricing to be more reasonable. In the two years since we signed up, the service has improved. CircleCI is always innovating and iterating on their platform. We have been very satisfied.
As the maintainer of the Karate DSL open-source project - I found Travis CI very easy to integrate into the GitHub workflow and it has been steady sailing for more than 2 years now ! It works well for Java / Apache Maven projects and we were able to configure it to use the latest Oracle JDK as per our needs. Thanks to the Travis CI team for this service to the open-source community !
I use Google Cloud Build because it's my first foray into the CICD world(loving it so far), and I wanted to work with something GCP native to avoid giving permissions to other SaaS tools like CircleCI and Travis CI.
I really like it because it's free for the first 120 minutes, and it's one of the few CICD tools that enterprises are open to using since it's contained within GCP.
One of the unique things is that it has the Kaniko cache, which speeds up builds by creating intermediate layers within the docker image vs. pushing the full thing from the start. Helpful when you're installing just a few additional dependencies.
I use Travis CI because of various reasons -
1. Cloud based system so no dedicated server required, and you do not need to administrate it.
2. Easy YAML configuration.
3. Supports Major Programming Languages.
4. Support of build matrix
6. Supports AWS, Azure, Docker, Heroku, Google Cloud, Github Pages, PyPi and lot more.
7. Slack Notifications.
You are probably looking at another hosted solution: Jenkins is a good tool but it way too work intensive to be used as just a backup solution.
I have good experience with Circle-CI, Codeship, Drone.io and Travis (as well as problematic experiences with all of them), but my go-to tool is Gitlab CI: simple, powerful and if you have problems with their limitations or pricing, you can always install runners somewhere and use Gitlab just for scheduling and management. Even if you don't host your git repository at Gitlab, you can have Gitlab pull changes automatically from wherever you repo lives.
If you are considering Jenkins I would recommend at least checking out Buildkite. The agents are self-hosted (like Jenkins) but the interface is hosted for you. It meshes up some of the things I like about hosted services (pipeline definitions in YAML, managed interface and authentication) with things I like about Jenkins (local customizable agent images, secrets only on own instances, custom agent level scripts, sizing instances to your needs).
There are not much space for Jenkins competitors for now from my point of view. With declarative pipelines now in place, its super easy to maintain them and create new ones(altho I prefer scripted still). Self-hosted, free, huge community makes it the top choice so honestly for me it was an easy pick.
When choosing a tool to help automate our CI/CD, the decision came down to GitHub Actions (GA) or TravisCI. Both are great, but the team has more experience with GA. Given GAs broad support of languages and workflows, it's hard to go wrong with this decision. We will also be using GitHub for version control and project management, so having everything in one place is convenient.
My website is brand new and one of the few requirements of testings I had to implement was code coverage. Never though it was so hard to implement using a #docker container.
Given my lack of experience, every attempt I tried on making a simple code coverage test using the 4 combinations of #TravisCI, #CircleCi with #Coveralls, #Codecov I failed. The main problem was I was generating the .coverage file within the docker container and couldn't access it with #TravisCi or #CircleCi, every attempt to solve this problem seems to be very hacky and this was not the kind of complexity I want to introduce to my newborn website.
This problem was solved using a specific action for #GitHubActions, it was a 3 line solution I had to put in my github workflow file and I was able to access the .coverage file from my docker container and get the coverage report with #Codecov.
Buddy is one of the most easy-to-use tools for CI I ever met. When I needed to set up the pipeline I was really impressed with how easy it is to create it with Buddy with only a few moments.
It's literally like:
1. Add repo
2. Click - Click - Click
3. You're done and your app is on prod :D
The top feature that I've found is a simple integration with different notification channels - not only Slack (which is the one by default), but Telegram and Discord.
The support is also neat - guys respond pretty quickly on even a small issue.
We were long time users of TravisCI, but switched to CircleCI because of the better user interface and pricing. Version 2.0 has had a couple of trips and hiccups; but overall we've been very happy with the continuous integration it provides. Continuous Integration is a must-have for building software, and CircleCI continues to surprise as they roll out ideas and features. It's leading the industry in terms of innovation and new ideas, and it's exciting to see what new things they keep rolling out.
Jenkins is a pretty flexible, complete tool. Especially I love the possibility to configure jobs as a code with Jenkins pipelines.
CircleCI is well suited for small projects where the main task is to run continuous integration as quickly as possible.
Travis CI is recommended primarily for open-source projects that need to be tested in different environments.
And for something a bit larger I prefer to use Jenkins because it is possible to make serious system configuration thereby different plugins. In Jenkins, I can change almost anything. But if you want to start the CI chain as soon as possible, Jenkins may not be the right choice.
Easy to configure own build server i.e. GitLab-Runner
2
Hosted internally
1
Built-in Docker Registry
1
Built-in support of Review Apps
1
Pipeline could be started manually
1
Enable or disable pipeline by using env variables
1
Gitlab templates could be shared across logical group
1
Easy to setup the dedicated runner to particular job
1
Built-in support of Kubernetes
Pros of Travis CI
506
Github integration
388
Free for open source
271
Easy to get started
191
Nice interface
162
Automatic deployment
72
Tutorials for each programming language
40
Friendly folks
29
Support for multiple ruby versions
28
Osx support
24
Easy handling of secret keys
6
Fast builds
4
Support for students
3
The best tool for Open Source CI
3
Hosted
3
Build Matrices
2
Github Pull Request build
2
Straightforward Github/Coveralls integration
2
Easy of Usage
2
Integrates with everything
1
Caching resolved artifacts
1
Docker support
1
Great Documentation
1
Build matrix
1
No-brainer for CI
1
Debug build workflow
1
Ubuntu trusty is not supported
1
Free for students
1
Configuration saved with project repository
1
Multi-threaded run
1
Hipchat Integration
0
Perfect
Sign up to add or upvote prosMake informed product decisions
Cons of GitLab CI
Cons of Travis CI
Cons of GitLab CI
2
Works best with GitLab repositories
Cons of Travis CI
8
Can't be hosted insternally
3
Feature lacking
3
Unstable
2
Incomplete documentation for all platforms
Sign up to add or upvote consMake informed product decisions
What is GitLab CI?
GitLab offers a continuous integration service. If you add a .gitlab-ci.yml file to the root directory of your repository, and configure your GitLab project to use a Runner, then each merge request or push triggers your CI pipeline.
What is Travis CI?
Free for open source projects, our CI environment provides multiple runtimes (e.g. Node.js or PHP versions), data stores and so on. Because of this, hosting your project on travis-ci.com means you can effortlessly test your library or applications against multiple runtimes and data stores without even having all of them installed locally.
Need advice about which tool to choose?Ask the StackShare community!
Jobs that mention GitLab CI and Travis CI as a desired skillset
What are some alternatives to GitLab CI and Travis CI?
Jenkins
In a nutshell Jenkins CI is the leading open-source continuous integration server. Built with Java, it provides over 300 plugins to support building and testing virtually any project.
Bamboo
Focus on coding and count on Bamboo as your CI and build server! Create multi-stage build plans, set up triggers to start builds upon commits, and assign agents to your critical builds and deployments.
TeamCity
TeamCity is a user-friendly continuous integration (CI) server for professional developers, build engineers, and DevOps. It is trivial to setup and absolutely free for small teams and open source projects.
CircleCI
Continuous integration and delivery platform helps software teams rapidly release code with confidence by automating the build, test, and deploy process. Offers a modern software development platform that lets teams ramp.
Concourse
Concourse's principles reduce the risk of switching to and from Concourse, by encouraging practices that decouple your project from your CI's little details, and keeping all configuration in declarative files that can be checked into version control.