Skip to content

Reducing sponsered travis-ci build time #40

@raveit65

Description

@raveit65

As everybody know MATE desktop is sponsored as open-source project by travis-ci company.
That means we get 25.000 credits from them when someone from the team ask for it.
For this reason i disabled building with Archlinux and Ubuntu docker image a while ago.
When credits are low (~1000) we have to ask for more with a simple email.
Something like this:

Dear Travis support,
i want to noticed you that sponsored credits for mate-desktop are running out again. Can you please update oss credits?
Thank you so much for your sponsoring.
Best regards

...or in better English :)
Edit: Everybody from the team can ask for more credits.
Usually after 1 or 2 hours we got again 25.000 credits.

With a travis account you will see this page with our current credits.
https://app.travis-ci.com/organizations/mate-desktop/plan
Screenshot 2023-10-20 at 10-07-56 MATE Desktop - Profile - Travis CI
In October i ask 3 times for new credits (2023-10-02, 2023-10-10 and 2023-10-19), which is a lot.

Building with debian docker image is useful for seeing ccpcheck warnings and we use a higher compiler warnings level.
Fedora build is needed for doing releases and displaying github pages for ccpcheck results.
We can change that if someone thinks it's better to build on Ubuntu or Archlinux, but this requires work to change configs for every repository.
How can we reduce build time?
Because i don't want to write every 9 days a mail to travis and we should handle sponsored build time with respect.

Currently we build every commit or every force push in a pull request 2 times for fedora and debian.
One time in PR feature branch, and one time PR feature branch against master.
I am thinking that isn't really needed and building the PR only against master branch is sufficient.
This step would reduce our build-time by 50%
@mate-desktop/core-team
What do you think?
@yetist
Is this possible and what change is needed in ci config?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions