aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* .travis.yml: stop allowing osx failurek0kubun2018-11-131-1/+0
| | | | | | 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
* .travis.tml: reintroduce exclusions for osxshyouhei2018-11-131-0/+2
| | | | | | | | | | 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
* .travis.yml: eliminate remaining --color=never [ci skip]shyouhei2018-11-131-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .travis.yml: specify --tty=noshyouhei2018-11-131-4/+5
| | | | | | | | | | | 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
* .travis.yml: delete test-all options for osxshyouhei2018-11-131-2/+0
| | | | | | | | | 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
* .travis.yml: allow osx failures [experimental]shyouhei2018-11-131-0/+1
| | | | | | | 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
* .travis.yml: update VM imagesshyouhei2018-11-131-9/+2
| | | | | | | | 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