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

372 Коммитов

Автор SHA1 Сообщение Дата
Nobuyoshi Nakada d58406ffca
Ignore hung-ups after success on s390x-linux tentatively [ci skip] 2021-12-21 13:40:28 +09:00
Nobuyoshi Nakada 5bf0060e0a
[DOC] Skip tests if only documents change [ci skip]
Run only checks for source code.  Currently, our CIs do almost
nothing about the documents.
2021-12-16 17:50:20 +09:00
Takashi Kokubun 76f9bc7e66
Reduce the amount of false positive notifications
While f6048e592c tried to approach the
instability mentioned there, unfortunately the Travis arm32 environment
seems unstable by itself. I already saw 2 different failures in the last
4 builds:
https://app.travis-ci.com/github/ruby/ruby/jobs/544382885
https://app.travis-ci.com/github/ruby/ruby/jobs/544361370

Let's revisit this when this kind of thing stops happening.
2021-10-20 21:57:49 -07:00
Nobuyoshi Nakada 275b55aea4
Revert "Shallow clone on TravisCI"
This reverts commit 10d2341640.
TravisCI clones the head of the target branch, and it may not be
the target commit at that time.
2021-10-13 19:04:46 +09:00
Nobuyoshi Nakada 10d2341640
Shallow clone on TravisCI 2021-10-13 16:02:50 +09:00
Jun Aruga 38d255d023 .travis.yml: Comment out the 2nd arm64 pipeline.
The 2nd arm64 pipeline is unstable now in Travis. As Cirrus CI has arm64
pipelines, it's not a problem to drop the arm64 pipeline in Travis.
2021-10-12 20:37:38 +02:00
Nobuyoshi Nakada f6048e592c
Run the failing readline test on arm32-linux separately 2021-10-10 11:16:14 +09:00
Nobuyoshi Nakada 3817d1823c
Remove `RUN_SEPARATED_TESTS` which seems unnecessary 2021-10-10 11:16:14 +09:00
Nobuyoshi Nakada 72797acf6e
Set `TEST_ALL` options first to show in the summary page 2021-10-10 11:16:13 +09:00
Takashi Kokubun 963f2e01e7
Reduce the amount of false positive notifications 2021-08-13 10:26:12 -07:00
Jun Aruga 6771316d51 .travis.yml: Check failures for Travis arm64 again.
It seems the concurrent jobs are stable recently on arm64 pipeline.
Keep allowing to fail on arm32 due to a failure.
2021-08-09 22:32:12 +02:00
Jun Aruga f7741cda32 Enable Travis on the specific branches or forked repositories.
Align the Travis enabling timing with GitHub Actions.

For the syntax, see <https://docs.travis-ci.com/user/conditions-v1>.
We use `repo` syntax rather than `fork = true/false` syntax to show a general usage in any repositories on GitHub.
The non-forked repo is not always a primary repo in any GitHub repositories.

[Bug #17936]
2021-06-09 17:16:53 +02:00
Nobuyoshi Nakada dd765f9e60
Get rid of updating Unicode files
Some certificates on Unicode.org have expired.
2021-06-07 17:45:50 +09:00
Jun Aruga af43198738 .travis.yml: Remove skipped tests on ppc64le.
It was fixed at fc832ffbfa .
2021-05-26 11:33:05 +02:00
Jun Aruga 9d4266fd55 .travis.yml: Update to use arm64/ppc64le/s390x.
* Use only the free pipelines arm64/ppc64le/s390x without credits on Travis.
  See <https://docs.travis-ci.com/user/billing-overview/#partner-queue-solution>.
* Add ppc64le case.
* Update the gcc to gcc-11.
* Remove unused logic.
* Add the `tool/travis_wait.sh` to avoid a command timeout.
* Run the tests skipping some failing tests.
  * Set `TEST_ALL_SKIPPED_TESTS` env to skip the tests.
  * Run the tests separately returning ok status.
    The tests are executed if `TEST_ALL_SKIPPED_TESTS` env is set or
    `TEST_ALL_SEPARATED_TESTS` env is set.
  * Add `tool/ci_functions.sh` to manage the functions used in CI.
* Add arm64 to allow_failures due to the following issue.
  An arm64 job sometimes does not start right now.
  https://travis-ci.community/t/11629
2021-05-25 12:38:05 +02:00
卜部昌平 83efb2e47c .travis.yml: Ubuntu 20.04 Focal Fossa
This is a LTS.  Must be better than Xenial.
2021-05-25 12:38:05 +02:00
Jun Aruga 4f735903c2 Revert "Remove .travis.yml" to revive Travis.
This reverts commit 6b978d5427.
2021-05-25 12:38:05 +02:00
NARUSE, Yui 6b978d5427 Remove .travis.yml
Reason:
* Recent build is failed.
  https://travis-ci.org/github/ruby/ruby/jobs/762561190
* Current configuration uses Ubuntu 16.04 (xenial), whose EOL is Apr 2021.

If someone want to recover Travis CI builds, please fix above two issues.
2021-03-12 15:27:57 +09:00
卜部昌平 ae53fda013 .travis.yml: delete x86_64
Is already covered by Github Actions.
2020-11-04 12:11:13 +09:00
卜部昌平 4c6700964d .travis.yml: delete sanitizer tests
They were not working.
2020-11-04 12:11:13 +09:00
卜部昌平 8eca97c049 .github/workflows/baseruby.yml: add
Translate a part of .travis.yml into a Github Actions workflow.
2020-11-04 12:11:13 +09:00
卜部昌平 7cf34cfaa3 .github/workflows/spec_guards.yml add
Translate a part of .travis.yml into GitHub Actions workflow.
2020-10-23 10:38:34 +09:00
卜部昌平 1c5f44cd72 .travis.yml: reduce redundant tests
These tests are (more or less) covered by github actions now.
2020-10-21 09:24:47 +09:00
卜部昌平 331d02038b .travis.yml: prefer gcc
It seems `clang --save-temps` does not interface well with
tool/update-deps.  Prefer gcc for that purpose.
2020-08-22 11:12:24 +09:00
Nobuyoshi Nakada 466d3e68da
Just update sources in CI without fetching
Also install external libraries only, extract-gems does not work
unless base ruby is available.
2020-06-16 12:15:55 +09:00
Takashi Kokubun f72bec2cea
Travis s390x-linux is too unstable
It has caused errors by ENOSPC like
https://travis-ci.org/github/ruby/ruby/jobs/682520961 too often.

I cleared all cache of Travis yesterday, but it didn't help it. Until
somebody figures out how to fix it, let me exclude it from CI status
reports to avoid false alerts.
2020-05-03 13:58:54 -07:00
Nobuyoshi Nakada 56d6cfe88a
.travis.yml: hoisted out spec-on-old-ruby 2020-04-29 15:28:39 +09:00
Takashi Kokubun 0511bef930
Remove invalid webhook config
According to warnings on Travis, there's no such key. We handle this on
webhook side anyway.
2020-04-17 10:18:56 -07:00
Nobuyoshi Nakada df275179bd
Revert "Moved aclocal.m4 to macro directory"
This reverts commit 4a6571dbc1,
because chkbuild does not follow.
2020-04-05 11:53:07 +09:00
Nobuyoshi Nakada 4a6571dbc1 Moved aclocal.m4 to macro directory 2020-04-05 09:26:57 +09:00
Nobuyoshi Nakada 826f44834f Drop support for ruby 2.4 from ruby/spec 2020-04-01 15:36:20 +09:00
Jun Aruga 86ca640287 Enablie IPv6 on Travis s390s case again.
It seems the issue was fixed by Travis.
See https://travis-ci.community/t/6719/5 .
2020-03-21 11:51:32 +09:00
卜部昌平 eeb178dc1f .travis.yml: allow arm64-linux to fail
Ditto for a833eb29f7
2020-03-19 10:48:32 +09:00
卜部昌平 a833eb29f7 .travis.yml: allow arm32-linux to fail
It seems fragile now, seemingly due to environmental issues.  Lets allow
it to fail for a while.  Reported by Jun Agura <jaruga@redhat.com>
[ruby-core:97540]
2020-03-19 10:20:02 +09:00
Takashi Kokubun 4015f27a4d
Drop direct Slack notification from CIs
All Slack alerts have been migrated to a bot made by mame-san
2020-03-09 22:39:19 -07:00
Takashi Kokubun b9d45d3ac0
Hook an experimental alert from Travis 2020-03-07 00:21:39 -08:00
卜部昌平 bdf2d91326 .travis.yml, .github: delete environmental dumps
They were necessary when developing YAMLs, but not useful any longer.
2020-03-02 14:53:05 +09:00
卜部昌平 f4a3830ff2 .travis.yml: favor >- over |- and backslash 2020-03-02 14:53:05 +09:00
卜部昌平 01fc48c26f .travis.yml: mandate UBSAN
It seems UBSAN is quite stable now.
2020-03-02 14:53:05 +09:00
卜部昌平 9086f6bfc8 .travis.yml delete darwin debug code
Darwin is no longer tested using Travis CI.  See also commit
91aa8bfff8
2020-03-02 14:53:05 +09:00
卜部昌平 cdf8471aec .travis.yml: ruby_2_7 is travis ready. 2020-03-02 14:53:05 +09:00
Benoit Daloze 6321a68582 Run specs on Ruby 2.7 too to make sure they keep passing
* With keyword argument changes, it's more likely to break only 2.7 and
  not other versions.
* A few specs were broken on 2.7.0 recently, this should catch them earlier.
2020-01-28 18:37:42 +01:00
Benoit Daloze fe8573f31a Run specs against the latest release of 2.4 2020-01-28 18:12:24 +01:00
Jun Aruga 440013b2fa Remove s390x from allow_failures 2020-01-14 09:46:52 +09:00
Jun Aruga f132825ffa Disable IPv6 on Travis s390x case. (#2819)
This fixes following error that sometimes happens once in a few times
on Travis s390x environment.

```
$ tool/travis_retry.sh sudo -E apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
+ sudo -E apt-add-repository -y ppa:ubuntu-toolchain-r/test
Error: retrieving gpg key timed out.
```
2020-01-07 12:23:04 +09:00
Takashi Kokubun 4fb6643f31
Do not notify Travis on_success
We don't find it useful anymore, because notifications from many other
CIs are mixed.
2019-12-28 01:12:17 -08:00
Yusuke Endoh cae657c324 Fix .travis.yml to keep s390x-linux as allow_features
[Misc #16360]
2019-12-11 21:54:18 +09:00
Yusuke Endoh 47a365dd58 Move s390x-linux to allow_failures matrix
ref [Misc #16360]
2019-12-11 20:45:50 +09:00
Namrata Bhave 544431e028 Adding s390x support (#2727) 2019-12-07 01:27:58 +09:00
Jun Aruga c0d118f41a Fix "cannot find the function: strcpy()" error on arm32 on Travis CI. (#2686)
This issue happened when `libc.so` and `libm.so` path were not found
and `ldd ruby` command also failed to print the shared dependencies
in `test/fiddle/helper.rb`.

See https://travis-ci.org/ruby/ruby/jobs/611483288#L3018
/home/travis/build/ruby/ruby/build/.ext/common/fiddle/import.rb:299:in `import_function': cannot find the function: strcpy() (Fiddle::DLError)

* Set libc6:armhf as a installing dependency explicitly.
* Remove arm32 from allow_failures.
2019-12-05 14:17:16 +09:00