Граф коммитов

291 Коммитов

Автор SHA1 Сообщение Дата
Takashi Kokubun 235d810c2e
Deprecate alerting multiple channels
Some CIs report to two channels, and some others report to only one.
This makes it consistent. Only alert channel should be alerted.
2019-08-20 22:33:32 +09:00
Takashi Kokubun 97c377e2b1
Mark Travis osx cron-only
because it has often hanged like
https://travis-ci.org/ruby/ruby/jobs/573691637,
and we also have almost the same test suite on GitHub Actions now, which
seems to be stable in `make check` so far.
2019-08-19 18:13:09 +09:00
Takashi Kokubun 829b800c10
Reoder Travis matrix.include
to clarify what's running for every commit.
2019-08-18 19:10:24 +09:00
Takashi Kokubun a5f9306065
Simplify sudo specification 2019-08-12 20:20:59 +09:00
Takashi Kokubun 1bec27f05b
Add exec to apt-get update
to propagate exit status to travis_retry properly.
2019-08-12 19:52:38 +09:00
Takashi Kokubun b1ef14176b
We did not have tool/ before checkout
anyway we don't need authorization here.
Also retry does not seem to work in the original version, so let's
extend this with retries as a separate github action later.
2019-08-12 14:37:26 +09:00
Takashi Kokubun 4f10a61eaa
Stop relying on actions/checkout
because it randomly fails on authorization like:
https://github.com/ruby/ruby/runs/190887455
Also the backoff seems too short. Maybe we need tool/travis_retry.sh for
this too.

Cloning ruby/ruby does not need authorization. We don't need to use
actions/checkout.
2019-08-12 14:30:43 +09:00
Takashi Kokubun b1ad628cdf
Resurrect travis_wait for test-all
as we dropped -v.
2019-08-12 13:45:57 +09:00
Takashi Kokubun 0609087a6b
Parallelize osx test-all too 2019-08-10 23:57:20 +09:00
Nobuyoshi Nakada c21c001733
Re-enable parallel build/test on OSX 2019-08-10 23:30:50 +09:00
Nobuyoshi Nakada 00e7ef7e8d
Suppress flags messages [ci skip] 2019-08-10 19:50:46 +09:00
Nobuyoshi Nakada 5e3fb0b357
Touch the checked out source to fix clock skew on all platform 2019-08-10 16:33:32 +09:00
Nobuyoshi Nakada c5fbe2a19f
Moved options to $travis_apt_get_options 2019-08-10 15:48:39 +09:00
Takashi Kokubun 330e3f19c3
Refactor .travis.yml by introducing travis_retry.sh
Not using official travis_retry.bash, because it's not supporting to
modify backoff seconds.
0ad8f1886b/lib/travis/build/bash/travis_retry.bash

Not using official `travis_apt_get_update` function because it does not
propagate exit status to be used by retries.
0ad8f1886b/lib/travis/build/bash/travis_apt_get_update.bash

Co-Authored-By: Nobuyoshi Nakada <nobu@ruby-lang.org>
2019-08-07 21:47:03 +09:00
Takashi Kokubun a0fe396555
Simplify break logic of Travis retries
Co-Authored-By: Nobuyoshi Nakada <nobu@ruby-lang.org>
2019-08-07 09:40:11 +09:00
Kazuhiro NISHIYAMA b839721ae7
.travis.yml: Use `-eq` instead `=` to compare integers 2019-08-07 09:03:08 +09:00
Takashi Kokubun 2d6b92c5f6
Retry ubuntu-toolchain-r-test apt source setup
In 614c90fe21, I assumed
apt-add-repository has been stable recently, but I saw PR randomly
failed for it today.

This commit only deals with "ubuntu-toolchain-r-test" and does NOT deal
with `llvm-toolchain-xenial-8` intentionally, because what it does
(mainly curl from build.travis-ci.org) seems to be more reliable than
"ubuntu-toolchain-r-test". Also `&clang-8` jobs are basically
allow_failures and it's less important to be stabilized.
2019-08-07 01:26:33 +09:00
Takashi Kokubun 255e22a827
Use gcc-8 for BASERUBY test
as it failed https://travis-ci.org/ruby/ruby/jobs/567942969, unlike my
fork CI.

This just rollbacks a minor change in
798474deaf10dbea70c02724b5acf4487bbed660.
2019-08-06 00:50:48 +09:00
Takashi Kokubun 614c90fe21
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.
2019-08-06 00:33:33 +09:00
Takashi Kokubun 44ddfec0bd
Add missing backslash 2019-08-03 01:07:48 +09:00
Takashi Kokubun 4eb54c49f7
Stop using homebrew addon
to control erros on our own.
2019-08-03 00:55:37 +09:00
Takashi Kokubun 247b06d400
Revert "Give up `brew update` on Travis"
This reverts commit e05f397f08.
Failed... https://travis-ci.org/ruby/ruby/jobs/566961111

We should talk to Travis people instead...
2019-08-02 23:01:54 +09:00
Hiroshi SHIBATA 3e4e8dbe20
Uninstall ntlm-http and plist for failure of osx test.
It contains too old configuration that is autorequire. It will be
  removed at the RubyGems 3.1.0.
2019-07-31 07:47:03 +08:00
Takashi Kokubun a5ea55feb4
Actually remove travis_wait
I forgot to amend again... Details are explained in
f6a6b21f09
2019-07-29 20:57:57 +09:00
Takashi Kokubun f6a6b21f09
`travis_wait` silences any output
and thus it does not work with `-v` for investigating hangs well.
This seems to be by design: https://github.com/travis-ci/travis-ci/issues/4190

Also I simplified a comment about `homebrew.update`.
I had this in-flight change while editing e05f397f08
but forgot to ammend this.
2019-07-29 20:55:19 +09:00
Takashi Kokubun e05f397f08
Give up `brew update` on Travis
No `brew update` causes "Error: Your Homebrew is outdated" like https://travis-ci.org/ruby/ruby/jobs/547485832,
but doing `brew update` is also problematic like https://travis-ci.org/ruby/ruby/jobs/564916879.

Hoping that the former case is more rare, let's try no `brew update`
again.
2019-07-29 20:25:23 +09:00
Takashi Kokubun 5af28fec2f
Resurrect -v to debug osx problems
Formerly we did f432fd6ea5, but it did not
eliminate our problems: https://travis-ci.org/ruby/ruby/jobs/564804923
2019-07-29 19:49:20 +09:00
Takashi Kokubun 4b4d8a662b
Stop isolating test_gc_compact on CI
I think it's been stable these days.
2019-07-29 19:45:32 +09:00
Nobuyoshi Nakada 61f0f71e5b
Moved osx_image
Set osx_image under each configuration, as it decides the OS (and
kernel) version not only Xcode version, and the configuration name
contains the kernel version.
2019-07-29 11:44:56 +09:00
Takashi Kokubun adf13625ae
Extend travis_wait to 50min for osx
but shorten --timeout-scale for now to avoid finishing with timeout
if possible.

timeout: https://travis-ci.org/ruby/ruby/jobs/564370175
2019-07-27 23:46:40 +09:00
Takashi Kokubun e3b613a669
Include travis osx timeout
for failures like https://travis-ci.org/ruby/ruby/jobs/564351066
2019-07-27 21:34:35 +09:00
Nobuyoshi Nakada 957a29fc6e
Bump osx_image on Travis CI to xcode11
Also Homebrew is up-to-date and "Updating Homebrew" takes less
than one minute.
2019-07-26 09:21:04 +09:00
Nobuyoshi Nakada 538ba984c8
Split ls line 2019-07-24 21:07:12 +09:00
Nobuyoshi Nakada 96b0d7cd6f
GNU ls -T has different meaning 2019-07-24 21:03:01 +09:00
Takashi Kokubun 65a9d4b0f7
Fix typo [ci skip] 2019-07-24 20:51:29 +09:00
Takashi Kokubun 7b1893c771
Resurrect timestamp debug log
because it failed again https://travis-ci.org/ruby/ruby/jobs/563026412
even after 676df311d9.
2019-07-24 20:50:51 +09:00
Nobuyoshi Nakada 676df311d9
Reset mtime of all files on osx
Often checked out files are in the future on OSX image.
2019-07-23 22:46:03 +09:00
Nobuyoshi Nakada e8d4f0cbc7
Show seconds and in the modified time order
[ci skip]
2019-07-23 17:59:43 +09:00
Nobuyoshi Nakada 0338c44bde
Retry to update Unicode timestamp 2019-07-23 17:39:03 +09:00
Samuel Williams c584dd8460
Move travis coroutine check to cron only. 2019-07-20 19:44:49 +12:00
Takashi Kokubun e7b5b9144a
--debug was not functional either
Even after 19d592dc82, the retry seems not
functional. Let's just add --debug from the beginning because an output
of each step is collapsed and we don't see `make up` output so often.
2019-07-20 15:45:34 +09:00
Samuel Williams b8242bce23
Add `ucontext` and `copy` coroutine implementations to test matrix. 2019-07-18 20:54:54 +12:00
Nobuyoshi Nakada 19d592dc82
Somehow `if` didn't work 2019-07-16 18:41:11 +09:00
Nobuyoshi Nakada 76c6cf2cbc
Print debugging information when updating failed 2019-07-16 17:23:43 +09:00
Takashi Kokubun d1e2650aca
Force-fetch unicode update only when it's needed
nobu said that we could be banned if we aggressively downloaded unicode
file from Travis.
2019-07-15 13:49:15 +09:00
Takashi Kokubun 73346823e1
Try to prevent random build failure on Travis osx 2019-07-15 11:04:16 +09:00
Nobuyoshi Nakada ac2866005b
Add empty depend file if extconf.rb only exists 2019-07-14 03:04:23 +09:00
Nobuyoshi Nakada d0ef5c21fb
Check dependencies on Travis-CI 2019-07-09 23:13:43 +09:00
Kazuhiro NISHIYAMA 07e9a1d998
Debugging failures on x86_64-darwin17 of travis-ci
https://travis-ci.org/ruby/ruby/jobs/553346285
2019-07-03 10:23:01 +09:00
Takashi Kokubun 35cf3e8904
The default branch is changed to master
and now Travis should run on master, instead of trunk.

(this is testing git push to master branch)
2019-07-01 00:14:12 +09:00