コンテンツへスキップ
LatchkeyLatchkey home

CircleCI vs Travis CI: ホステッド CI 比較

どちらもリポジトリに接続するホステッド CI です。CircleCI は並列化で革新を続けた一方、Travis CI は料金変更後に勢いを失いました。

CircleCI と Travis CI は初期のホステッド CI における二大リーダーでした。CircleCI は resource class とテスト分割に投資し、Travis CI は料金体系の刷新後に衰退しました。以下が比較です。

CircleCITravis CI
設定.circleci/config.yml (orb).travis.yml
ホスティングモデルCircleCI クラウドまたはセルフホストTravis クラウド (または enterprise)
料金resource class ごとのクレジットクレジットベースのプラン
エコシステムorb レジストリ組み込みの言語サポート
速度の調整手段並列化、テスト分割キャッシュ、build matrix
勢い活発衰退

料金と勢い

どちらもクレジットベースの料金に移行しました。CircleCI はより大きなアクティブユーザー基盤を保った一方、Travis CI は縮小しました。決める前に各サイトで現在のクレジットプランを確認してください。

設定とエコシステム

Travis の .travis.yml はシンプルで言語を認識します。CircleCI の orb とテスト分割は大規模な並列スイートによりよくスケールします。今日では CircleCI の方が活発に開発されている選択肢です。

GitHub チームへの注記

コードが GitHub にあるなら、GitHub Actions が統合されたデフォルトであり、マネージドランナー (例: Latchkey) はそのコストを GitHub-hosted に対して約70%削減し、warm pool と自己修復を備えます。

Migrating between CI platforms: what actually costs time

  • Pipeline syntax is the easy part and the part every comparison focuses on. Budget for it, then expect it to be the smallest line item.
  • Secrets, OIDC trust relationships, and deploy credentials have to be recreated and re-approved, usually by a different team.
  • Caching semantics differ enough that a naive port produces a pipeline that is correct and much slower.
  • Required status checks and branch protection reference check names. Renaming them mid-migration blocks merges until the rules are updated.
  • Run both in parallel on the same commits until the new one has been green for a full sprint. Cutting over on a green first run is how migrations get rolled back.

結論

両者のうち、CircleCI はより強力で活発に保守されている選択肢です。Travis CI は主に既存の構成に適しています。GitHub チームはマネージドランナーを使う GitHub Actions を比較すべきです。

よくある質問

CircleCI vs Travis CI: Hosted CI Compared?
CircleCI and Travis CI were the two early leaders in hosted CI. CircleCI invested in resource classes and test splitting; Travis CI declined after its pricing overhaul. Here is the comparison.
Pricing and momentum?
Both moved to credit-based pricing; CircleCI retained a larger active user base while Travis CI shrank. Verify current credit plans on each site before deciding.
Config and ecosystem?
Travis .travis.yml is simple and language-aware; CircleCI orbs and test splitting scale better for big parallel suites. CircleCI is the more actively developed option today.
A note for GitHub teams?
If your code is on GitHub, GitHub Actions is the integrated default, and managed runners (e.g. Latchkey) cut that cost from $0.006 to $0.0025 per minute at 2 vCPU with warm pools and self-healing.
Which should I choose?
Between the two, CircleCI is the stronger, more actively maintained choice; Travis CI mainly fits existing setups. GitHub teams should compare GitHub Actions with managed runners.

関連ガイド