aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
Commit message (Collapse)AuthorAgeFilesLines
* Add more debug print for random CI failure on osx TravisKazuhiro NISHIYAMA2019-04-251-1/+3
| | | | see r67347
* Add more debug print for random CI failure on osx TravisKazuhiro NISHIYAMA2019-04-241-0/+1
| | | | see r67347
* The step should not fail when isolated testsTakashi Kokubun2019-04-241-2/+3
| | | | do not exist
* Isolate test_gc_compact for osx TravisTakashi Kokubun2019-04-241-1/+5
| | | | | | | | 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.
* Support of Ruby 2.3 has endedKazuhiro NISHIYAMA2019-04-221-1/+0
| | | | https://www.ruby-lang.org/en/news/2019/03/31/support-of-ruby-2-3-has-ended/
* Add more debug print for random CI failure on osx Traviskazu2019-04-141-0/+3
| | | | | | see r67347 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert "Try to set false explicitly"k0kubun2019-04-141-1/+21
| | | | | | | | | | | | | | | | | | This reverts commit a1b5d20068a9b1859b383b249e510cd33d196e4a. Revert "Revert "Skip recompiling tests on i686 Linux"" This reverts commit 7b88a9207b97b94bc3c3be35084c742296f4aff2. Revert "Simplify matrix for debugging" This reverts commit e85d6c5c5e62dde37c6f6ffdb7125b9008b9ebfa. 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 :bow: git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Simplify matrix for debuggingk0kubun2019-04-141-21/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Debug make install instead of makek0kubun2019-03-291-2/+2
| | | | | | | 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
* Add debug print for random CI failure on osx Travisk0kubun2019-03-271-1/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert "Try disabling Travis cache on darwin"k0kubun2019-03-181-8/+0
| | | | | | | | | This reverts commit 6b136a044205f6e6b66df68cd2da2a9c3e952a7d. 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
* Try disabling Travis cache on darwink0kubun2019-03-171-0/+8
| | | | | | | | | | | | 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
* Remove deprecated `sudo: false` in .travis.ymlkazu2019-03-061-3/+0
| | | | | | | - 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
* .travis.yml: allow C99 on pedanticism buidk0kubun2019-01-101-4/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .travis.yml: propagate -w properlyk0kubun2019-01-031-3/+1
| | | | | | | | | | | 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
* .travis.yml: enforce -w in invoke_ruby as wellk0kubun2019-01-031-1/+1
| | | | | | | | | actually current test-all does not fail with RUN_OPTS="-w". and chkbuild seems to use RUBYOPT="-w" https://github.com/ruby/chkbuild/blob/bad4681c30e71f132cdd80f324d4b8f132f6582c/chkbuild/ruby.rb#L605 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .travis.yml: add a test matrix with -wk0kubun2019-01-031-0/+2
| | | | | | | | | | 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
* .travis.yml: increase timeout for test-allk0kubun2018-12-281-1/+1
| | | | | | | 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
* .travis.yml: ignore non-existent filesnobu2018-12-281-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .travis.yml: rbconfig.rb is not needed to setup sourcesnobu2018-12-281-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* delete emacs mode lines [ci skip]shyouhei2018-12-271-9/+1
| | | | | | | 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
* Add ruby_2_6 branch to .travis.ymlnaruse2018-12-241-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .travis.yml: refine explanation of no -j3 on osx [ci skip]k0kubun2018-12-231-2/+1
| | | | | | | 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
* .travis.yml: wrap setarch with travis_waitk0kubun2018-12-231-1/+1
| | | | | | 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
* .travis.yml: try travis_wait instead of -vk0kubun2018-12-231-3/+2
| | | | | | | 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
* .travis.yml: use -v for osx to find a blocking testk0kubun2018-12-211-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .travis.yml: give up parallel build for osxk0kubun2018-12-211-0/+2
| | | | | | | | | 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
* .travis.yml: avoid using -j3 for osxk0kubun2018-12-211-1/+2
| | | | | | | | | | | | | | | | | 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
* .travis.yml: config_2nd may not exist in ~/k0kubun2018-12-041-1/+1
| | | | | | 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
* .travis.yml: cache unicode.org filesshyouhei2018-11-291-3/+7
| | | | | | | | | | | | | 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
* .travis.yml: fix YAML parse errorshyouhei2018-11-291-1/+3
| | | | | | | | `[` 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
* Try with TZInfo and Timezone gemsnobu2018-11-281-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .travis.yaml: unquoteshyouhei2018-11-281-73/+76
| | | | | | | | | | | | 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
* .travis.yml: avoid bashismnobu2018-11-271-3/+3
| | | | | | | | 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
* .travis.yml: discard config.cache if CC changednobu2018-11-271-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .travis.yml: split commandsnobu2018-11-271-5/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .travis.yml: avoid bashismshyouhei2018-11-261-9/+5
| | | | | | | 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
* .travis.yml: update MSAN setups [ci skip]shyouhei2018-11-261-1/+3
| | | | | | | | 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
* .travis.yml: do not pass unnecessary warnflagsnobu2018-11-191-3/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .travis.yml: use dedicated flagsnobu2018-11-191-14/+17
| | | | | | | * .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
* .travis.yml: -Wno-unknown-warning-option is needed, too.shyouhei2018-11-191-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .travis.yml: extra CFLAGS to suppress warningsshyouhei2018-11-191-0/+5
| | | | | | | | 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
* .travis.yml: give up mac universal binary [ci skip]shyouhei2018-11-151-1/+0
| | | | | | | | | 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
* .travis.yml: -j3 [ci skip]shyouhei2018-11-151-4/+10
| | | | | | | | | | | | | 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
* Revert "Use CC without ccache as MJIT_CC"kazu2018-11-151-1/+0
| | | | | | 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
* Use CC without ccache as MJIT_CCkazu2018-11-151-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .travis.yml: enable ccacheshyouhei2018-11-151-5/+33
| | | | | | | | | | | | | | | | | | | | | | | | | Travis has `cache: ccache` feature so let us enable it. Also, because `config.cache` is generated during the compilation why not cache that file for a later use. [fix GH-2013] Caveats: - When something went wrong, cache entries can be deleted from https://travis-ci.org/ruby/ruby/caches (requires login). - See `ccache(1)` manual page for the new environment variables. - `ccache` thinks two compilations are not identical if they produce different diagnostics. The -fno-diagnostics-color option is to prevent such cache missihts only because TTY is present / absent at the compilation time. - In this changeset two "ccache --show-stats" invocations are inserted before and after the compilation to measure cache hit rates etc. Will revisit their outputs once the cache is warmed up. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .travis.yml: specify git -qshyouhei2018-11-141-0/+3
| | | | | | | We are not interested in git(1) output. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .travis.yml: add empty lines for readability [ci skip]shyouhei2018-11-141-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/excludes/../TestWEBrickUtils.rb: exclude unstable testk0kubun2018-11-131-2/+2
| | | | | | | | | for now. This seems to get unstable after r65691. test/excludes/_travis/osx: renamed from test/excludes/_travis because it's only for osx builds. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e