dwyl / dwyl/learn-travis

🤦‍♂️ Builds have been temporarily disabled for private and public repositories ... 💔

Open
#67 4 comments 3 reactions 0 assignees View on GitHub
bug chore priority-2 technical
Dominant language
JavaScript
Stars
1.2k
Forks
335
PR merge metrics
No merged PRs in 30d

Description

Just been informed by Travis-CI that Builds are "_temporarily disabled_" ... (so our [PRs](https://github.com/dwyl/phoenix-chat-example/pull/62) are not being tested...)

![image](https://user-images.githubusercontent.com/194400/137475574-4b3eabc6-d7df-49f7-ab9a-e41f6163b728.png)

```
Builds have been temporarily disabled for private and public repositories due to a negative credit balance.
Please go to the Plan page to replenish your credit balance.
```

https://app.travis-ci.com/organizations/dwyl/plan
![image](https://user-images.githubusercontent.com/194400/137474325-a5ecdbe8-9732-4169-8c24-5a698d4f06ba.png)

And yet when I scroll down to the "Usage" section, this is what I see **`4,330` Credits Used**:

![image](https://user-images.githubusercontent.com/194400/137475084-de0ce04e-7acc-4b67-b4cd-b5867e87da0f.png)

This is a **`Bug`** on Travis-CI because we _clearly_ have _not_ burned through the **`10,000` Credits** for the month.
But more than that, it's a ***myopic*** policy change on Travis-CI's part to cap open source build time.
Obviously they have to make money and we aren't paying them anything so it's their choice.
But it's _really_ silly because the bigger Open Source projects/orgs who need more than **`10,000` Credits** will _inevitably_ migrate to use GitHub Actions or GitLab CI instead and they will _rapidly_ lose market share!

**1k build minutes** might feel like a _lot_ if you only have a handful of projects or don't update them very often.
But if you have a project that takes **5 mins** to build & test and your CI runs on **each `commit`** on a Pull Request,
it will only take **200 commits** in a **month** to reach that level. Again that might _feel_ like a big number, but it's not.

There are people who _easily average_ **200 commits/month** ... https://git.io/top
And there are projects that get regular Pull Requests that will _rapidly_ exhaust **1k build minutes** in a month.
Imagine a project like **`Flutter`** that gets 200+ PRs per month: https://github.com/flutter/flutter/pulls and has to test on all the Operating Systems and Devices ... _no chance_ they could use Travis-CI.

# Todo

+ [x] Begin migrating our Repos to use `GitHub Actions` (CI) instead of `Travis-CI` ... 😢

This looks like a good starting point for `Elixir`: https://github.com/APB9785/phxBB/blob/master/.github/workflows/elixir.yml

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.