Zulip Chat Archive

Stream: general

Topic: conditionally run "check ... scripts" tasks on travis?


Scott Morrison (Apr 09 2019 at 02:39):

Hi @Simon Hudon, I think the new travis tasks are slowing things down in an unfortunate way. Two of my PRs are at the moment sitting at yellow; travis has successfully checked all the proofs, but hasn't got around to spinning up the check install scripts tasks.

Scott Morrison (Apr 09 2019 at 02:40):

Is there some way we can only initiate them if something changed in the scripts directory?

Scott Morrison (Apr 09 2019 at 02:40):

The problem isn't that checking the install scripts is slow, but that travis is waiting to allocate a VM to check them in.

Simon Hudon (Apr 09 2019 at 02:46):

I think there are three things we can try here.

1. get Travis to not make redundant builds for PRs and pushes
2. collapse the four checks for scripts into 2 checks
3. disable those checks when the scripts don't change

Simon Hudon (Apr 09 2019 at 02:46):

I've talked to the Travis team about 1. and the change is in the pipeline

Simon Hudon (Apr 09 2019 at 02:46):

I can look into 2. tomorrow

Simon Hudon (Apr 09 2019 at 02:46):

I have no idea how to do 3. or if it's possible.

Scott Morrison (Apr 09 2019 at 02:48):

Great! No worries if it turns out to be too much work.

Simon Hudon (Apr 09 2019 at 02:49):

I think 1. will make a nice difference. Also, I've noticed today that Travis' workload was pretty heavy and it wasn't allocating many VMs for mathlib


Last updated: Dec 20 2023 at 11:08 UTC