Project

General

Profile

« Previous | Next » 

Revision 614c90fe

Added by k0kubun (Takashi Kokubun) over 6 years ago

Control Travis apt retries on our own

because Travis team does not do it for us:
https://github.com/travis-ci/travis-build/pull/1712

The retried part has failed often even in one day:
https://travis-ci.org/ruby/ruby/jobs/567802384
https://travis-ci.org/ruby/ruby/jobs/567802388
https://travis-ci.org/ruby/ruby/jobs/567695879
https://travis-ci.org/ruby/ruby/jobs/567666931

For doing it easily, this also changes major aliases to
compiler-specific ones, because partially updating before_install
logic using env key was too hard and we needed to directly write
before_install for each package set. As a bonus of it, it may also
skip installing unnecessary packages when just os: linux is needed.

I'll revert this if this patch does not contribute to stabilize CI.