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

215 Коммитов

Автор SHA1 Сообщение Дата
Urabe, Shyouhei 267ac0624d make test needs no gems 2019-04-26 15:59:40 +09:00
Urabe, Shyouhei d700a8a0eb update travis clang
Seems clang-7 has false-positives around memory sanitizer.

This line should not be reported because the memory region is
correctly unpoisoned beforehand:
https://travis-ci.org/ruby/ruby/jobs/524766381

Clang 8 seems to fix it.
2019-04-26 15:59:40 +09:00
Urabe, Shyouhei 3175c54cb6 new travis setting to enable assertions 2019-04-26 15:59:40 +09:00
Urabe, Shyouhei 2a49a47956 sanitizer compiler flag update 2019-04-26 15:59:40 +09:00
Kazuhiro NISHIYAMA c9715eb494
Add more debug print for random CI failure on osx Travis
see r67347
2019-04-25 20:02:49 +09:00
Kazuhiro NISHIYAMA 2642f22050
Add more debug print for random CI failure on osx Travis
see r67347
2019-04-24 18:19:44 +09:00
Takashi Kokubun 82ef172a8c
The step should not fail when isolated tests
do not exist
2019-04-24 01:10:14 +09:00
Takashi Kokubun bc8e54911d
Isolate test_gc_compact for osx Travis
After `GC.compact`, test/shell/test_command_processor.rb seems to be made
unstable on osx Travis like https://travis-ci.org/ruby/ruby/jobs/523487997.

For investigating whether it's impacting that or not, let me try isolating
that for osx Travis for now.
2019-04-24 00:41:24 +09:00
Kazuhiro NISHIYAMA 6013e41a7b Support of Ruby 2.3 has ended
https://www.ruby-lang.org/en/news/2019/03/31/support-of-ruby-2-3-has-ended/
2019-04-22 11:39:08 +09:00
kazu 57f9a700d7 Add more debug print for random CI failure on osx Travis
see r67347

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-14 06:52:37 +00:00
k0kubun d636809c05 Revert "Try to set false explicitly"
This reverts commit a1b5d20068.

Revert "Revert "Skip recompiling tests on i686 Linux""

This reverts commit 7b88a9207b.

Revert "Simplify matrix for debugging"

This reverts commit e85d6c5c5e.

Sorry, these 3 commits were under debugging in
https://github.com/ruby/ruby/pull/2129 but accidentally merged by using
`git svn dcommit` instead of `git push` to the topic branch 🙇

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-14 05:52:14 +00:00
k0kubun e85d6c5c5e Simplify matrix for debugging
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-14 05:48:38 +00:00
k0kubun 9254e1c740 Debug make install instead of make
Actually what has randomly failed was `make install`:
https://travis-ci.org/ruby/ruby/jobs/512988177

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-29 12:55:07 +00:00
k0kubun 1c5fd2bff0 Add debug print for random CI failure on osx Travis
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-27 13:15:02 +00:00
k0kubun f9e5b8d09c Revert "Try disabling Travis cache on darwin"
This reverts commit 6b136a0442.

This does not seem to work:
https://travis-ci.org/ruby/ruby/jobs/507646193#L2478

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-18 12:07:21 +00:00
k0kubun 6b136a0442 Try disabling Travis cache on darwin
to check if it resolves "Permission denied" problem.
https://travis-ci.org/ruby/ruby/jobs/507381339
https://travis-ci.org/ruby/ruby/jobs/507392198

TBH I'm not exactly sure why it happens, but I don't have infinite time
to understand this. It would be appreciated to identify the root cause
and remove `DISABLE_CACHE` again if you're sure your patch fixes the problem.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-17 06:20:01 +00:00
kazu fdc42bf88d Remove deprecated `sudo: false` in .travis.yml
- https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
- https://docs.travis-ci.com/user/reference/overview/#deprecated-virtualization-environments

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-06 03:04:36 +00:00
k0kubun dfdd0e1d08 .travis.yml: allow C99 on pedanticism buid
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-10 07:59:18 +00:00
k0kubun d0045da598 .travis.yml: propagate -w properly
r66692's `export RUBYOPT="-w"` does not seem to work.
Passing `RUBYOPT="-w"` to `make test-all`'s argument works.

Let's try having this for all environments.

(see r66690 for motivation)

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-03 06:27:35 +00:00
k0kubun 3bc28f4933 .travis.yml: enforce -w in invoke_ruby as well
actually current test-all does not fail with RUN_OPTS="-w".

and chkbuild seems to use RUBYOPT="-w"
bad4681c30/chkbuild/ruby.rb (L605)

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-03 05:15:54 +00:00
k0kubun 5743c9e858 .travis.yml: add a test matrix with -w
currently Travis and AppVeyor does not run tests with test-all,
but RubyCI uses -w and currently all RubyCIs are failing.

It might be better to fail at least one CI in Travis to notice it
earlier.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-03 05:08:43 +00:00
k0kubun 1317fefe53 .travis.yml: increase timeout for test-all
we reached 30min timeout on osx build
https://travis-ci.org/ruby/ruby/jobs/473019623

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-28 15:19:11 +00:00
nobu e23a166995 .travis.yml: ignore non-existent files
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-28 04:28:16 +00:00
nobu 971e1aaf63 .travis.yml: rbconfig.rb is not needed to setup sources
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-28 04:23:39 +00:00
shyouhei bc64df876e delete emacs mode lines [ci skip]
These settings are now covered by .dir-locals.el.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-27 06:12:09 +00:00
naruse 5300cdc0c0 Add ruby_2_6 branch to .travis.yml
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-24 23:12:07 +00:00
k0kubun 9cc1120424 .travis.yml: refine explanation of no -j3 on osx [ci skip]
With travis_wait, we may not need -j3 for test-all anymore, but still we
need to avoid hanging on building Ruby somehow.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-23 01:58:33 +00:00
k0kubun 350809c7f2 .travis.yml: wrap setarch with travis_wait
because travis_wait is not found via setarch

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-23 01:35:14 +00:00
k0kubun f432fd6ea5 .travis.yml: try travis_wait instead of -v
Using -v somehow makes test-all on osx stable. Let me check if travis_wait
solves the issue or not.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-23 01:10:06 +00:00
k0kubun a934b66437 .travis.yml: use -v for osx to find a blocking test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-21 16:36:37 +00:00
k0kubun 4e42ebf018 .travis.yml: give up parallel build for osx
Even building ruby seems to hang for unknown reasons.
https://travis-ci.org/ruby/ruby/jobs/471021727

Travis's osx environment is too fragile. Avoid anything dangerous.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-21 16:07:41 +00:00
k0kubun 8af3bd4594 .travis.yml: avoid using -j3 for osx
osx build has failed too often. we don't know why.

To know which test hangs forever, we might want to have hard timeout for
all test case (like 9min, slightly less than no-output timeout) in test-all.
But it's a little hard to implement and I would workaround an unknown
cause somehow.

It's known that -j is harmful for some tests in test-all. Let's try to
remove it first, and if it doesn't work, I'll resurrect -v option to
easily know which test is the culprit.

Slow correctness is much better than fast false-positive.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-21 15:07:18 +00:00
k0kubun f984a40e23 .travis.yml: config_2nd may not exist in ~/
https://travis-ci.org/ruby/ruby/jobs/463317607

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-04 13:15:24 +00:00
shyouhei 493955c692 .travis.yml: cache unicode.org files
Before this changeset (since r58071) we did not download files
from unicode.org but just touch some files.  This is a kind of
hack that people normally don't do at home.

We are caching other files between builds now.  Why not also save
those files downloaded from elsewhere.  This covers more
realistic workload, I guess.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-29 05:26:05 +00:00
shyouhei 2be1cf45c1 .travis.yml: fix YAML parse error
`[` is a meta character in YAML.  `- [` starts an array,
so it should end with `]`; but it was not.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-29 02:47:36 +00:00
nobu 2d0833e101 Try with TZInfo and Timezone gems
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-28 14:08:34 +00:00
shyouhei 7cb0965822 .travis.yaml: unquote
It was probably me, 7 years ago, in r33844, who started overly
quoting YAML strings.  But now, this file grown up 50+ times from
6 lines to more than 300.  It is more annoying than convenient to
quote everything to add backslashes here and there.

Just use quotes only when necessary.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-28 00:49:24 +00:00
nobu 186ff0eb3e .travis.yml: avoid bashism
GCC_FLAGS is not an array and CC is finally passed to configure as
single string.  Pass CC via the environment variable, so it does
not need to be quoted anymore.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-27 08:39:40 +00:00
nobu b6854df429 .travis.yml: discard config.cache if CC changed
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-27 08:39:39 +00:00
nobu b6f73c9034 .travis.yml: split commands
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-27 08:39:38 +00:00
shyouhei bf5c84a41d .travis.yml: avoid bashism
We can set environment variables to avoid before_script.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-26 02:46:50 +00:00
shyouhei 213fbd8126 .travis.yml: update MSAN setups [ci skip]
Exclude OpenSSL because we don't plan to debug libssl,
also track origins of uninitialized bits.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-26 02:21:25 +00:00
nobu d13724306e .travis.yml: do not pass unnecessary warnflags
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-19 09:42:10 +00:00
nobu 4863a93d58 .travis.yml: use dedicated flags
* .travis.yml: use dedicated flags, cflags and others, not to
  override optflags, warnflags and debugflags.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-19 06:52:54 +00:00
shyouhei 1a5b274ee2 .travis.yml: -Wno-unknown-warning-option is needed, too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-19 05:04:02 +00:00
shyouhei 9f6c0270ca .travis.yml: extra CFLAGS to suppress warnings
When CFLAGS is passed on travis, warnflags seems not working.
Let's add them directly to prevent clang form messing up the logs.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-19 03:08:32 +00:00
shyouhei b7f5c573ef .travis.yml: give up mac universal binary [ci skip]
OK, nobody is actively willing to maintain this configuration.  Just
stop annoying people by build failures.  See:
https://travis-ci.org/ruby/ruby/jobs/455377387


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-15 08:33:38 +00:00
shyouhei abf728103f .travis.yml: -j3 [ci skip]
Now that ccache is enabled.  Compilations are made IO heavy, not CPU
bound.  This means parallel jobs beyond CPU count could gain more
speed.  From my experiment, I can conclude the good old "number of
cores plus one" tactics works the best.

The experiment: https://travis-ci.org/shyouhei/ruby/builds/454891855



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-15 07:37:05 +00:00
kazu 42d797d8e9 Revert "Use CC without ccache as MJIT_CC"
because CI failed: https://travis-ci.org/ruby/ruby/builds/455313917

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-15 03:45:34 +00:00
kazu ae68030395 Use CC without ccache as MJIT_CC
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-15 03:01:20 +00:00