Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travis CI no longer provides unlimited free builds #197

Closed
dgelessus opened this issue Nov 2, 2020 · 1 comment · Fixed by #198
Closed

Travis CI no longer provides unlimited free builds #197

dgelessus opened this issue Nov 2, 2020 · 1 comment · Fixed by #198

Comments

@dgelessus
Copy link
Collaborator

Travis CI has announced a new pricing model today, and among other things they are no longer providing unlimited free builds for open-source projects. Existing open-source users are switched to a free trial plan, which means that you get 10,000 credits once - which is equivalent to 200 minutes of build time on macOS. That isn't all that much when you consider that one of our Travis builds normally takes about 5-6 minutes (for all different macOS versions combined) and you usually have multiple builds for each PR. If you do the math, that gives us maybe 10 PRs worth of Travis builds? The blog post also says:

  • We will be offering an allotment of OSS minutes that will be reviewed and allocated on a case by case basis. Should you want to apply for these credits please open a request with Travis CI support stating that you’d like to be considered for the OSS allotment.

I suppose we could try asking, but the way it's worded doesn't exactly sound like they have a lot of extra free capacity that they want to give away... And realistically, considering everything that's been happening with Travis CI recently, it's probably safer to move away completely to another CI service if possible. We already use GitHub Actions where possible, except for testing on old macOS versions (10.11 through 10.14) that only Travis CI provides - see #141 and #145.

Unfortunately it seems there are still no other CI services that provide a large number of older macOS versions like Travis does/did. GitHub Actions still only provides 10.15 (and recently 11.0), and both AppVeyor and Azure Pipelines provide 10.14 and 10.15. This means that we probably have to do away with CI for all older macOS versions. We could use AppVeyor or Azure Pipelines to replace the macOS 10.14 Travis build, though I don't know if that's worth the effort for one macOS version... We could also keep Travis around, but only running the oldest available macOS (10.11), to make the most of the remaining free credits.

@freakboy3742
Copy link
Member

Well darn. I guess the good news is that the only reason we're using TravisCI is to test older macOS and XCode versions for Rubicon. I'd definitely prefer to maintain testing for older macOS and XCode versions - but given we're now testing 2 versions in Github Actions, and Apple is pretty aggressive about pushing updates and forcing upgrades (especially with Xcode), and the competition doesn't really provide a viable alternative, I think I can probably live with only testing the versions that Apple is actively supporting, and remove our Travis CI builds.

dgelessus added a commit to dgelessus/rubicon-objc that referenced this issue Nov 7, 2020
Travis CI now gives free users only a small one-time amount of build
time credit, which isn't enough to run our large build matrix for very
long. Reducing our Travis CI matrix to a single build on the oldest
available Xcode/macOS version (Xcode 7.3 on Mac OS X 10.11) lets us
make the most of our free credit. Once that runs out, we'll have to
stop using Travis CI completely.
freakboy3742 added a commit that referenced this issue Nov 8, 2020
Reduce Travis CI matrix to minimum (closes #197)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants