Travis CI builds are very slow

91 views
Skip to first unread message

Yegappan Lakshmanan

unread,
Nov 24, 2020, 12:08:12 AM11/24/20
to vim_dev
Hi,

The Travis CI builds are very slow for the last month or so.
It looks like the total number of parallel Linux builds for all
the open source projects has been limited to 400 or so
(you can see the flat line in the graph for the active
Linux builds in this https://www.traviscistatus.com/ page).

This might be related to the new pricing model:

I don't know whether they will make an exception for Vim.

- Yegappan

Christian Brabandt

unread,
Nov 24, 2020, 3:11:54 AM11/24/20
to vim_dev
Yes, I have also noticed this and this is annoying. I wonder whether it
makes sense to migrate away from Travis to either Github Actions or some
other CI service.

Best,
Christian
--
Chuck Norris durchquert die Wüste immer mit zwei Kamelen, denn die
Gewichtsverteilung ist einfach besser wenn man unter beiden Armen
etwas trägt.

Bram Moolenaar

unread,
Nov 24, 2020, 4:30:52 AM11/24/20
to vim...@googlegroups.com, Christian Brabandt

Christian wrote:

> On Mo, 23 Nov 2020, Yegappan Lakshmanan wrote:
>
> > The Travis CI builds are very slow for the last month or so.
> > It looks like the total number of parallel Linux builds for all
> > the open source projects has been limited to 400 or so
> > (you can see the flat line in the graph for the active
> > Linux builds in this https://www.traviscistatus.com/ page).
> >
> > This might be related to the new pricing model:
> > https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing
> >
> > I don't know whether they will make an exception for Vim.
>
> Yes, I have also noticed this and this is annoying. I wonder whether it
> makes sense to migrate away from Travis to either Github Actions or some
> other CI service.

First thing to do would be to ask them to give Vim a free account.
They might be Vim users themselves.

--
Why doesn't Tarzan have a beard?

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

Ken Takata

unread,
Nov 24, 2020, 4:57:43 AM11/24/20
to vim_dev
Hi,

2020年11月24日火曜日 18:30:52 UTC+9 Bram Moolenaar:
Another thing we must consider is that travis-ci.org will shutdown at the end of this year.
If we still use Travis CI, we have to migrate to travis-ci.com.

Regards,
Ken Takata

James McCoy

unread,
Nov 24, 2020, 2:55:24 PM11/24/20
to vim...@googlegroups.com
On Tue, Nov 24, 2020 at 10:30:42AM +0100, Bram Moolenaar wrote:
>
> Christian wrote:
>
> > On Mo, 23 Nov 2020, Yegappan Lakshmanan wrote:
> >
> > > The Travis CI builds are very slow for the last month or so.
> > > It looks like the total number of parallel Linux builds for all
> > > the open source projects has been limited to 400 or so
> > > (you can see the flat line in the graph for the active
> > > Linux builds in this https://www.traviscistatus.com/ page).
> > >
> > > This might be related to the new pricing model:
> > > https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing
> > >
> > > I don't know whether they will make an exception for Vim.
> >
> > Yes, I have also noticed this and this is annoying. I wonder whether it
> > makes sense to migrate away from Travis to either Github Actions or some
> > other CI service.
>
> First thing to do would be to ask them to give Vim a free account.
> They might be Vim users themselves.

You already have a free account, but they allocate 10,000 credits by
default. Each minute of CI time costs a certain amount of credits -- 10
for Linux, 20 for Windows, and 50 for macOS.

A single PR/commit to master uses ~2,000 credits based on the timings I
looked at. Credits are allocated on a per-month basis. You can request
more from Travis, but that will have to happen any time the credits
aren't enough.

The free account also limits the concurrency to a single job at a time,
which is why CI times are taking so much longer now.

Cheers,
--
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB

Bram Moolenaar

unread,
Nov 24, 2020, 3:58:41 PM11/24/20
to vim...@googlegroups.com, James McCoy
It was working OK before they reduced the number of Linux jobs for open
source.

I read about that credit and cost, but can't find anything about what
credit was used and still available.

--
FATHER: Did you kill all those guards?
LAUNCELOT: Yes ... I'm very sorry ...
FATHER: They cost fifty pounds each!
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

Yee Cheng Chin

unread,
Dec 6, 2020, 2:10:24 AM12/6/20
to vim_dev, James McCoy
For MacVim, because we already transitioned to travis-ci.com from .org a little while ago, we got hit by this without me being aware of it at first since I didn't read about this change. They give you a trial account with a fixed amount of credit, which MacVim CI quickly used up. After that you have to contact them to get approved for OSS credits. It's still not 100% clear to me (and I already re-read the blog post and documentation) whether these OSS credits are allotted on a per-month basis, or you need to ask for more every time you run out. (I'm still waiting for my OSS credits to be approved but they gave me some temporary credits to use for now)

Either way, I think Vim needs to move off from travis-ci.org because that's for sure going away. Seems to me moving to Github Actions makes a lot more sense than trying to deal with the credit system in Travis CI (also because there doesn't seem to be an easy way to buy credits with a payment scheme). Not sure if Github Actions provides a superset of features or environments compared to Travis CI though (for macOS for example Tracis CI has a *lot* more OS versions available).

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/202011242058.0AOKwWSJ1866819%40masaka.moolenaar.net.

Ken Takata

unread,
Jan 1, 2021, 2:20:00 PM1/1/21
to vim_dev
Hi and Christian Bram,

2020年11月24日火曜日 18:57:43 UTC+9 Ken Takata:
Now we are using GitHub Actions. So, the most of the issues were solved.
But we still need to use Travis CI for some environments.
As I wrote before, travis-ci.org will shutdown, so we have to migrate to travis-ci.com.

Bram, could you migrate it with the following instractions?
I have already sent a request to enable GitHub Apps and I think you have enabled it.
But I don't have an access to do the further steps.
Could you enable GitHub Apps on the vim/vim repository?

Christian, I think that the vim/vim-appimage repository is also using travis-ci.org.
It should be also migrated to travis-ci.com.

Regards,
Ken Takata

Bram Moolenaar

unread,
Jan 1, 2021, 3:35:14 PM1/1/21
to vim...@googlegroups.com, Ken Takata

Ken Takata wrote:

> Now we are using GitHub Actions. So, the most of the issues were solved.
> But we still need to use Travis CI for some environments.
> As I wrote before, travis-ci.org will shutdown, so we have to migrate to
> travis-ci.com.
>
> jram, could you migrate it with the following instractions?
> https://docs.travis-ci.com/user/migrate/open-source-repository-migration#migrating-a-repository
> <https://docs.travis-ci.com/user/migrate/open-source-repository-migration>
> I have already sent a request to enable GitHub Apps and I think you have
> enabled it.
> But I don't have an access to do the further steps.
> Could you enable GitHub Apps on the vim/vim repository?
>
> Christian, I think that the vim/vim-appimage repository is also using
> travis-ci.org.
> It should be also migrated to travis-ci.com.

I have added the travis app, but on travis-ci.com I only see
colorschemes, vim-history and a couple of others, but not "vim".

Maybe it takes some time to show up, since it's much bigger?

In the "Migrate" tab I see "vim" greyed out, and the info box says
"Migration is not available for this account".

There is a "Sign up for the beta" button, but it doesn't appear to have
an effect.


--
hundred-and-one symptoms of being an internet addict:
84. Books in your bookcase bear the names Bongo, WinSock and Inside OLE

Ken Takata

unread,
Jan 1, 2021, 5:47:46 PM1/1/21
to vim_dev
Hi Bram,

2021年1月2日土曜日 5:35:14 UTC+9 Bram Moolenaar:

Ken Takata wrote:

> Now we are using GitHub Actions. So, the most of the issues were solved.
> But we still need to use Travis CI for some environments.
> As I wrote before, travis-ci.org will shutdown, so we have to migrate to
> travis-ci.com.
>
> jram, could you migrate it with the following instractions?
> https://docs.travis-ci.com/user/migrate/open-source-repository-migration#migrating-a-repository
> <https://docs.travis-ci.com/user/migrate/open-source-repository-migration>
> I have already sent a request to enable GitHub Apps and I think you have
> enabled it.
> But I don't have an access to do the further steps.
> Could you enable GitHub Apps on the vim/vim repository?
>
> Christian, I think that the vim/vim-appimage repository is also using
> travis-ci.org.
> It should be also migrated to travis-ci.com.

I have added the travis app, but on travis-ci.com I only see
colorschemes, vim-history and a couple of others, but not "vim".

Maybe it takes some time to show up, since it's much bigger?

In the "Migrate" tab I see "vim" greyed out, and the info box says
"Migration is not available for this account".

There is a "Sign up for the beta" button, but it doesn't appear to have
an effect.


Now I can see the same page; "vim" and "vim-appimage" are greyed out.
Maybe you need to "Sign up for the beta" on both travis-ci.org and travis-ci.com?

Regards,
Ken Takata

Bram Moolenaar

unread,
Jan 2, 2021, 6:58:55 AM1/2/21
to vim...@googlegroups.com, Ken Takata
Looks like it worked now.

--
hundred-and-one symptoms of being an internet addict:
87. Everyone you know asks why your phone line is always busy ...and
you tell them to send an e-mail.

Christian Brabandt

unread,
Jan 2, 2021, 1:47:19 PM1/2/21
to vim_dev

On Fr, 01 Jan 2021, Ken Takata wrote:

> Christian, I think that the vim/vim-appimage repository is also using travis-ci.org.
> It should be also migrated to travis-ci.com.

Thanks Ken, I think vim/vim-appimage has also been successfully migrated
now.

Best,
Christian
--
Konversation ist die Kunst zu reden, ohne zu denken.
-- Victor de Kowa
Reply all
Reply to author
Forward
0 new messages