Softwr

Developer Tools · head to head

GitHub Codespaces vs Travis CI

GitHub Codespaces logo

GitHub Codespaces

Developer Tools

Cloud hosted development environments configured by dev container files

From
Free
Free plan
Yes
Travis CI logo

Travis CI

Developer Tools

Hosted and self-hosted CI/CD driven by a .travis.yml file, with credit-based or unlimited plans

From
$15/month
Free plan
No

The short version

  • Travis CI is a continuous integration service.
  • GitHub Codespaces has a free plan, then $0.09/mo; Travis CI starts at $15/mo.
  • Only GitHub Codespaces lists machines from 2 to 32 cores; only Travis CI lists multiple build environments.
  • Where GitHub Codespaces falls short: cannot be self hosted, according to GitHub.
  • Where Travis CI falls short: the Unlimited plan is priced by concurrent jobs, so teams that parallelise test suites pay more as they speed up their pipeline.

How do GitHub Codespaces and Travis CI differ?

GitHub Codespaces and Travis CI differ on starting price (Free against $15/month), pricing model and free tier (Yes against No). Only the attributes on which GitHub Codespaces and Travis CI actually diverge.

Attributes where GitHub Codespaces and Travis CI differ
AttributeGitHub CodespacesTravis CI
Starting priceFree$15/month
Pricing modelUsage-basedPer month by build credits or concurrent jobs
Free tierYesNo
PlatformsWeb, Windows, macOS, LinuxWeb, Linux, Windows

Not yet recorded: category for Travis CI.

Which features does each one have?

They share no listed features; 8 appear only for GitHub Codespaces and 6 only for Travis CI. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in GitHub Codespaces

  • Dev container based configuration
  • Launch from repository, pull request, commit or template
  • Machines from 2 to 32 cores
  • Browser based editor
  • Connect from Visual Studio Code or IntelliJ
  • JetBrains IDEs and JupyterLab support in beta
  • Organisation access and spending controls
  • Monthly free allowance for personal accounts

Only in Travis CI

  • Repository-based configuration
  • Multiple build environments
  • Premium VM sizes
  • Concurrent jobs
  • Travis CI Server
  • Build insights

What is each one used for?

GitHub Codespaces is most often brought in for onboarding contributors without local setup; Travis CI for A company that needs on-premise CI for Perforce or Subversion repositories. The jobs each tool is most often brought in to do.

GitHub Codespaces

  • Onboarding contributors without local setupnot Travis CI
  • Fixing bugs from an open pull requestnot Travis CI
  • Consistent environments across a teamnot Travis CI
  • Coding from a tablet or any browsernot Travis CI
  • Teaching with preconfigured environmentsnot Travis CI

Travis CI

  • A team with years of .travis.yml files that does not want to rewrite its pipelinesnot GitHub Codespaces
  • A company that needs on-premise CI for Perforce or Subversion repositoriesnot GitHub Codespaces
  • Projects that need ARM or IBM architecture builds through partner queuesnot GitHub Codespaces
  • Small teams that want a predictable monthly credit bundle for light Linux buildsnot GitHub Codespaces

Where do GitHub Codespaces and Travis CI fall short?

GitHub Codespaces's most cited limit: cannot be self hosted, according to GitHub. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

GitHub Codespaces

  • Cannot be self hosted, according to GitHub
  • Requires an internet connection and works with GitHub repositories
  • Usage billing grows with machine size, since included compute is weighted by core count
  • Organisation use needs admin enablement before developers can create codespaces

Travis CI

  • Heavy VM sizes consume credits faster, so the headline 35,000 credits can run out quickly on large builds and force a move to the Unlimited plan
  • The Unlimited plan is priced by concurrent jobs, so teams that parallelise test suites pay more as they speed up their pipeline
  • Ownership by Idera since 2019 and a long decline in community mindshare mean fewer maintained integrations and tutorials than GitHub Actions or CircleCI
  • Server pricing is shown as a starting figure with a sales conversation, so the real on-premise cost is not visible up front
  • CI built into GitHub or GitLab removes the need for a separate account and bill, which makes Travis CI a harder default choice for new projects

How much do GitHub Codespaces and Travis CI cost?

GitHub Codespaces has a free plan, with paid plans from $0.09/mo; Travis CI starts at $15/mo. Plan by plan below, from each vendor's own pricing page.

GitHub Codespaces

Free
  • Compute$0.09/core hour
  • Storage$0.07/gb month

Travis CI

$15/month
  • Usage based$15/mo
    • 35,000 Linux build credits a month
    • Up to 80 concurrent jobs
    • Premium VMs available
  • Unlimited$78/mo
    • From $78 a month, or $72 billed annually
    • Unlimited build credits, collaborators and repositories
    • 1 to 300 concurrent jobs
  • Server$34/mo
    • Listed from $34 a month, contact sales
    • On-premise or private cloud
    • Perforce and Subversion CI/CD

Which should you pick?

Choose GitHub Codespaces if

  • You need dev container based configuration.
  • You want to start without paying.
  • You work on Web, Windows, macOS, Linux.
  • You also want launch from repository, pull request, commit or template.

Choose Travis CI if

  • You need repository-based configuration.
  • You work on Web, Linux, Windows.
  • You also want multiple build environments.

Questions people ask

Is GitHub Codespaces or Travis CI better?
It depends on the job. GitHub Codespaces fits onboarding contributors without local setup; Travis CI fits a team with years of .travis.yml files that does not want to rewrite its pipelines. GitHub Codespaces starts at Free and Travis CI at $15/month.
Which is cheaper, GitHub Codespaces or Travis CI?
GitHub Codespaces has a free tier; the other does not. Paid plans start at Free for GitHub Codespaces and $15/month for Travis CI.
Does GitHub Codespaces or Travis CI run on more platforms?
GitHub Codespaces runs on Web, Windows, macOS, Linux. Travis CI runs on Web, Linux, Windows.
Can I use GitHub Codespaces for free?
Yes. GitHub Codespaces has a free tier, so you can try it without paying. Travis CI starts at $15/month.
What is GitHub Codespaces best used for?
GitHub Codespaces is most often used for onboarding contributors without local setup, fixing bugs from an open pull request, consistent environments across a team, coding from a tablet or any browser. Of those, onboarding contributors without local setup and fixing bugs from an open pull request are not what Travis CI is typically brought in for.
What can GitHub Codespaces do that Travis CI cannot?
GitHub Codespaces covers Dev container based configuration, Launch from repository, pull request, commit or template, Machines from 2 to 32 cores, Browser based editor. Travis CI covers Repository-based configuration, Multiple build environments, Premium VM sizes, Concurrent jobs.

Answered from the vendors’ own pages

GitHub Codespaces: How much does GitHub Codespaces cost?

GitHub's billing documentation lists compute at 0.09 dollars per core hour and storage at 0.07 dollars per GB month. A 2 core machine therefore costs 0.18 dollars per hour.

Source
Travis CI: Does Travis CI still have a free plan?

The pricing page lists paid plans only, starting at $15 a month. Check the vendor for any trial or open-source allowance before relying on one.

GitHub Codespaces: Is there a free allowance?

Yes. Personal GitHub Free accounts include 120 compute hours and 15 GB month of storage, and GitHub Pro includes 180 compute hours and 20 GB month. Included compute is weighted by core count.

Source
Travis CI: Can Travis CI run on our own servers?

Yes. Travis CI Server is the on-premise and private-cloud edition, and the vendor lists Perforce and Subversion support.

GitHub Codespaces: Which editors can I use?

Codespaces can be used in the browser or connected from Visual Studio Code or IntelliJ. JetBrains IDEs and JupyterLab are listed as beta.

Source
Travis CI: How do credits work?

The usage plan includes 35,000 Linux build credits a month, and larger VMs and other operating systems use credits at different rates.

GitHub Codespaces: Can Codespaces be self hosted?

No. GitHub states that Codespaces cannot be self hosted.

Source
Travis CI: Is the unlimited plan really unlimited?

Credits, collaborators and repositories are unlimited. Your cap is concurrent jobs, which you buy from 1 up to 300.

Share

Related pages

Other head to heads