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
Jun Aruga
4bbfe1f7c4
Add arm32 case on Travis.
2019-11-12 16:01:30 -08:00
Takashi Kokubun
4334c9315a
Remove arm64 from allow_failures
2019-11-12 09:28:51 -08:00
Koichi Sasada
eaa011ffdb
Change requirements of BASERUBY.
...
"BASERUBY: Ruby 1.9.3" test on Travis-CI checks builds on Ruby 1.9.3.
However this version is too old and 46acd0075d
requires Ruby 2.2 and
later.
2019-11-08 10:10:37 +09:00
Takashi Kokubun
a1be11eb12
Revert "Remove arm64 from allow_failures"
...
This reverts commit 212f4d49ba
.
It worked on PR, but master branch builds have another build issue.
https://travis-ci.org/ruby/ruby/jobs/608303393
2019-11-06 09:53:02 -08:00
Takashi Kokubun
212f4d49ba
Remove arm64 from allow_failures
2019-11-06 09:10:27 -08:00
Nobuyoshi Nakada
84b69c520e
Edit vm_opts.h for VM options
...
Revert 46f175ed5c
partially.
Also tool/ruby_vm scripts refer the options in vm_opts.h.
2019-10-26 02:54:29 +09:00
Nobuyoshi Nakada
46f175ed5c
Use cppflags to pass preprocessor options
2019-10-23 02:53:36 +09:00
Alan Wu
97a03a0356
Add a cron job to keep CPDEBUG working
2019-10-22 12:21:02 +09:00
Takashi Kokubun
5c80dffd05
Revert "Disable ccache on arm64 build"
...
This reverts commit e8124729fb
.
It worked once, but soon after that it stopped working again
https://travis-ci.org/ruby/ruby/jobs/598491972
2019-10-16 08:28:53 -07:00
Takashi Kokubun
eef25f95b7
Maintain the intention of comment in Travis matrix
2019-10-15 23:04:34 -07:00
Takashi Kokubun
e8124729fb
Disable ccache on arm64 build
...
Follow up https://github.com/ruby/ruby/pull/2559
According to experiments in https://github.com/ruby/ruby/pull/2560 ,
disabling cache seems to make arm64 build succeed.
2019-10-15 22:54:43 -07:00
Takashi Kokubun
4ccb49bad3
Enforce --jit-debug test by another way
2019-10-15 22:47:20 -07:00
Takashi Kokubun
759576a03f
Fix test path on travis build
2019-10-15 22:01:25 -07:00
Takashi Kokubun
2679e10942
Test without --jit-debug by default
...
and let RUBY_DEBUG=1 job test it.
We usually don't use --jit-debug and we should test no --jit-debug by
default.
2019-10-15 21:37:01 -07:00
Jun Aruga
d97229de5c
Add arm64 case on Travis. ( #2559 )
...
misc-16234
2019-10-15 20:59:40 -07:00
Takashi Kokubun
38069a3a55
Try using Ruby 1.9.3 on Travis xenial
...
Isn't it there? http://rubies.travis-ci.org/
2019-09-18 18:54:09 +09:00
卜部昌平
1364217bcd
add missing dependency for .travis.yml
2019-09-09 21:27:40 +09:00
Takashi Kokubun
1a9cc3b27c
Avoid defining unused instructions
2019-09-03 14:22:44 +09:00
Takashi Kokubun
6c3ab99eae
Now it's always os: linux
2019-09-03 01:11:18 +09:00
Takashi Kokubun
52f0c31558
Fix accidental leftover for Linux
...
In 91aa8bfff8
, my understanding of the branch was inverted.
2019-09-03 01:06:29 +09:00
Takashi Kokubun
91aa8bfff8
Drop unstable Travis osx in favor of GitHub Actions
...
For some reason, the Travis osx environment has been really unstable.
It failed on today's cron too:
https://travis-ci.org/ruby/ruby/builds/579843163
As we have almost the same test environment (including OpenSSL version)
in GitHub Actions and it seems to be more stable and faster, I think
there's no motivation to maintain Travis osx CI environment.
By removing this, we'd be able to simplify .travis.yml as well.
2019-09-03 01:01:48 +09:00
Takashi Kokubun
1d68d29c14
Drop obsoleted IRC channel reference
...
travis-ci user does not live in #ruby-ja. Therefore the notification
isn't working anymore.
2019-09-03 00:36:19 +09:00
Takashi Kokubun
f1d8d0f47b
Drop obsoleted branch references
...
We don't have topic branches on ruby.git anymore.
2019-09-03 00:35:24 +09:00
Takashi Kokubun
60a49a6ff9
Fix SUPPORT_JOKE CI on Travis
...
It looks like a flag which cannot be enabled on configure.
2019-09-03 00:07:37 +09:00
Takashi Kokubun
834e771860
Run daily cron against SUPPORT_JOKE
2019-09-02 23:48:38 +09:00
Takashi Kokubun
cda5745c1b
Automatically detect missing symbols
...
which are usually optimized away by -O3.
This CI can detect missing exports like
ea84a68075
which was needed for
761346a960
.
2019-09-01 16:31:15 +09:00
Takashi Kokubun
602fbd4338
Limit the apt addon enablement to trusty
...
8897fa60fd
worked.
But we want to retry that part and this commit is trying to fix the
problem.
2019-08-31 17:34:25 +09:00
Takashi Kokubun
8897fa60fd
Try using built-in apt source for gcc-8
...
58a373e9ed
and
3868df8333
didn't work.
2019-08-31 17:18:59 +09:00
Takashi Kokubun
3868df8333
Try to fix apt-get update error for trusty (take 2)
...
https://travis-ci.org/ruby/ruby/jobs/579116510
2019-08-31 17:05:53 +09:00
Takashi Kokubun
58a373e9ed
Try to suppress errors in BASERUBY Travis
...
https://travis-ci.org/ruby/ruby/jobs/579108692
2019-08-31 16:44:44 +09:00
Kazuhiro NISHIYAMA
682aaf6af5
Replace numbered parameters with named parameters [ci skip]
2019-08-29 14:35:09 +09:00
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