summaryrefslogtreecommitdiff
path: root/.travis.yml
AgeCommit message (Collapse)Author
2019-01-10.travis.yml: allow C99 on pedanticism buidk0kubun
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-03.travis.yml: propagate -w properlyk0kubun
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.travis.yml: enforce -w in invoke_ruby as wellk0kubun
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
2019-01-03.travis.yml: add a test matrix with -wk0kubun
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
2018-12-28.travis.yml: increase timeout for test-allk0kubun
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.travis.yml: ignore non-existent filesnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-28.travis.yml: rbconfig.rb is not needed to setup sourcesnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-27delete emacs mode lines [ci skip]shyouhei
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-24Add ruby_2_6 branch to .travis.ymlnaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-23.travis.yml: refine explanation of no -j3 on osx [ci skip]k0kubun
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.travis.yml: wrap setarch with travis_waitk0kubun
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.travis.yml: try travis_wait instead of -vk0kubun
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-21.travis.yml: use -v for osx to find a blocking testk0kubun
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-21.travis.yml: give up parallel build for osxk0kubun
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.travis.yml: avoid using -j3 for osxk0kubun
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-04.travis.yml: config_2nd may not exist in ~/k0kubun
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-11-29.travis.yml: cache unicode.org filesshyouhei
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.travis.yml: fix YAML parse errorshyouhei
`[` 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-28Try with TZInfo and Timezone gemsnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-28.travis.yaml: unquoteshyouhei
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-27.travis.yml: avoid bashismnobu
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.travis.yml: discard config.cache if CC changednobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-27.travis.yml: split commandsnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-26.travis.yml: avoid bashismshyouhei
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.travis.yml: update MSAN setups [ci skip]shyouhei
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-19.travis.yml: do not pass unnecessary warnflagsnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-19.travis.yml: use dedicated flagsnobu
* .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.travis.yml: -Wno-unknown-warning-option is needed, too.shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-19.travis.yml: extra CFLAGS to suppress warningsshyouhei
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-15.travis.yml: give up mac universal binary [ci skip]shyouhei
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.travis.yml: -j3 [ci skip]shyouhei
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-15Revert "Use CC without ccache as MJIT_CC"kazu
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-15Use CC without ccache as MJIT_CCkazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-15.travis.yml: enable ccacheshyouhei
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
2018-11-14.travis.yml: specify git -qshyouhei
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
2018-11-14.travis.yml: add empty lines for readability [ci skip]shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-13test/excludes/../TestWEBrickUtils.rb: exclude unstable testk0kubun
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
2018-11-13.travis.yml: stop allowing osx failurek0kubun
it seems to be more stable than the timing we upgraded travis image. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-13.travis.tml: reintroduce exclusions for osxshyouhei
Sorry, seen the failures again. Was a wrong idea to delete the --exclude. See https://travis-ci.org/ruby/ruby/jobs/454329443#L2233 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-13.travis.yml: eliminate remaining --color=never [ci skip]shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-13.travis.yml: specify --tty=noshyouhei
To reduce the amount of output, prefer --tty=no instead of --color=never. This option not only disables color output but also kill some tty-related features, like spinners. Travis limits its output by the physical size of the log, not by the number of lines. This change should make more room for new logs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-13.travis.yml: delete test-all options for osxshyouhei
While we are experiencing build failures, no hangs had been seen for a while. Also it seems the excluded tests now pass. I think it's time to delete this line. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-13.travis.yml: allow osx failures [experimental]shyouhei
Tests are failing due to network timeouts. Temporary allow failrues for them. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-13.travis.yml: update VM imagesshyouhei
xeinal for Linux and xcode 10.1 for osx. Also deleted few outdated lines that are no longer necessary. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-12.travis.yml: resurrect -j on macshyouhei
The "osx build randomly fails with `-j`" happens on make -j test-all. Should be safe to do make -j all. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-08.travis.yml: simplify travis matrix descriptionk0kubun
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-07.travis.yml: UNALIGNED_WORD_ACCESS=0 for UBSANshyouhei
Unaligned word access warnings generated by UBSAN are often treated well already, depending on this macro. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-06.travis.yml: FIBER_USE_NATIVE=0shyouhei
I remember this configuration unveiled several bugs before. Better check it occasionally. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-06.travis.yml: allow UBSAN to failshyouhei
Forgot this line, sorry! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-06.travis.yml: add cron-only buildsshyouhei
Inspired by [GH-1984], let us add some tests that run only once a day. These configurations are either slow to compile or slow to run. But I think they are worth done occasionally. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e