Softwr

Web Development · head to head

Stencil vs Travis CI

Stencil logo

Stencil

Web Development

MIT licensed toolchain for building reusable Web Component libraries in TypeScript

From
Free
Free plan
Yes
Travis CI logo

Travis CI

Web Development

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

  • Stencil is an open source toolchain; Travis CI is a continuous integration service.
  • Stencil is free; Travis CI starts at $15/mo.
  • Only Stencil lists shadow DOM and slots support; only Travis CI lists repository-based configuration.
  • Where Stencil falls short: aimed at component libraries, so routing and data fetching must come from elsewhere.
  • 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 Stencil and Travis CI differ?

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

Attributes where Stencil and Travis CI differ
AttributeStencilTravis CI
Starting priceFree$15/month
Pricing modelOpen-sourcePer 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 Stencil 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 Stencil

  • Compiles TypeScript and JSX to Web Components
  • Shadow DOM and slots support
  • Output optimised for tree shaking and loading
  • Asynchronous rendering pipeline
  • Documentation generated from JSDoc comments
  • Dev server with hot reloading
  • Unit testing and code generation tooling
  • Integration guides for Angular, React and Vue

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?

Stencil is most often brought in for publishing a design system as Web Components; 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.

Stencil

  • Publishing a design system as Web Componentsnot Travis CI
  • Sharing UI components across React, Angular and Vue appsnot Travis CI
  • Building framework independent widgetsnot Travis CI
  • Generating documentation for component librariesnot Travis CI
  • Building progressive web apps with Web Componentsnot Travis CI

Travis CI

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

Where do Stencil and Travis CI fall short?

Stencil's most cited limit: aimed at component libraries, so routing and data fetching must come from elsewhere. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Stencil

  • Aimed at component libraries, so routing and data fetching must come from elsewhere
  • Requires TypeScript and decorator conventions that differ from other frameworks
  • Web Component styling and form handling can need extra work in some host frameworks
  • Smaller ecosystem of third party components than the largest frameworks

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 Stencil and Travis CI cost?

Stencil is free to use; Travis CI starts at $15/mo. Plan by plan below, from each vendor's own pricing page.

Stencil

Free

No published plan breakdown. See the Stencil review.

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 Stencil if

  • You need compiles typescript and jsx to web components.
  • You want to start without paying.
  • You work on Web, Windows, macOS, Linux.
  • You also want shadow dom and slots support.

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 Stencil or Travis CI better?
It depends on the job. Stencil fits publishing a design system as Web Components; Travis CI fits a team with years of .travis.yml files that does not want to rewrite its pipelines. Stencil starts at Free and Travis CI at $15/month.
Which is cheaper, Stencil or Travis CI?
Stencil has a free tier; the other does not. Paid plans start at Free for Stencil and $15/month for Travis CI.
Does Stencil or Travis CI run on more platforms?
Stencil runs on Web, Windows, macOS, Linux. Travis CI runs on Web, Linux, Windows.
Can I use Stencil for free?
Yes. Stencil has a free tier, so you can try it without paying. Travis CI starts at $15/month.
What is Stencil best used for?
Stencil is most often used for publishing a design system as web components, sharing ui components across react, angular and vue apps, building framework independent widgets, generating documentation for component libraries. Of those, publishing a design system as web components and sharing ui components across react, angular and vue apps are not what Travis CI is typically brought in for.
What can Stencil do that Travis CI cannot?
Stencil covers Compiles TypeScript and JSX to Web Components, Shadow DOM and slots support, Output optimised for tree shaking and loading, Asynchronous rendering pipeline. Travis CI covers Repository-based configuration, Multiple build environments, Premium VM sizes, Concurrent jobs.

Answered from the vendors’ own pages

Stencil: What does Stencil produce?

Stencil compiles components written in TypeScript and JSX into standard Web Components. These work in any major framework or without one.

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.

Stencil: Is Stencil free?

Yes. The project is released under the MIT licence according to both its website and its GitHub repository.

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.

Stencil: Who builds Stencil?

The README says Stencil is built by the Ionic team. The website describes it as an open source project by Ionic.

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.

Stencil: Does Stencil work with React, Angular and Vue?

Yes. Components are plain Web Components, and the website provides integration guides for Angular, React and Vue.

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