aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
Commit message (Collapse)AuthorAgeFilesLines
* Simplify sudo specificationTakashi Kokubun2019-08-121-3/+3
|
* Add exec to apt-get updateTakashi Kokubun2019-08-121-3/+3
| | | | to propagate exit status to travis_retry properly.
* We did not have tool/ before checkoutTakashi Kokubun2019-08-121-8/+8
| | | | | | 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.
* Stop relying on actions/checkoutTakashi Kokubun2019-08-121-8/+8
| | | | | | | | | | 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.
* Resurrect travis_wait for test-allTakashi Kokubun2019-08-121-1/+1
| | | | as we dropped -v.
* Parallelize osx test-all tooTakashi Kokubun2019-08-101-3/+2
|
* Re-enable parallel build/test on OSXNobuyoshi Nakada2019-08-101-2/+0
|
* Suppress flags messages [ci skip]Nobuyoshi Nakada2019-08-101-2/+2
|
* Touch the checked out source to fix clock skew on all platformNobuyoshi Nakada2019-08-101-2/+2
|
* Moved options to $travis_apt_get_optionsNobuyoshi Nakada2019-08-101-3/+4
|
* Refactor .travis.yml by introducing travis_retry.shTakashi Kokubun2019-08-071-79/+53
| | | | | | | | | | | | Not using official travis_retry.bash, because it's not supporting to modify backoff seconds. https://github.com/travis-ci/travis-build/blob/0ad8f1886b2c31994d847e126dc5842b7b3513e3/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. https://github.com/travis-ci/travis-build/blob/0ad8f1886b2c31994d847e126dc5842b7b3513e3/lib/travis/build/bash/travis_apt_get_update.bash Co-Authored-By: Nobuyoshi Nakada <nobu@ruby-lang.org>
* Simplify break logic of Travis retriesTakashi Kokubun2019-08-071-10/+13
| | | | Co-Authored-By: Nobuyoshi Nakada <nobu@ruby-lang.org>
* .travis.yml: Use `-eq` instead `=` to compare integersKazuhiro NISHIYAMA2019-08-071-5/+5
|
* Retry ubuntu-toolchain-r-test apt source setupTakashi Kokubun2019-08-071-14/+20
| | | | | | | | | | | | In 614c90fe21cf1d9cf6fb18684187d8c7e2f61de6, 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.
* Use gcc-8 for BASERUBY testTakashi Kokubun2019-08-061-0/+1
| | | | | | | | as it failed https://travis-ci.org/ruby/ruby/jobs/567942969, unlike my fork CI. This just rollbacks a minor change in 798474deaf10dbea70c02724b5acf4487bbed660.
* Control Travis apt retries on our ownTakashi Kokubun2019-08-061-94/+120
| | | | | | | | | | | | | | | | | | | 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.
* Add missing backslashTakashi Kokubun2019-08-031-1/+1
|
* Stop using homebrew addonTakashi Kokubun2019-08-031-9/+16
| | | | to control erros on our own.
* Revert "Give up `brew update` on Travis"Takashi Kokubun2019-08-021-2/+1
| | | | | | | This reverts commit e05f397f08e98fb170e3aca885d6028b344e833c. Failed... https://travis-ci.org/ruby/ruby/jobs/566961111 We should talk to Travis people instead...
* Uninstall ntlm-http and plist for failure of osx test.Hiroshi SHIBATA2019-07-311-0/+1
| | | | | It contains too old configuration that is autorequire. It will be removed at the RubyGems 3.1.0.
* Actually remove travis_waitTakashi Kokubun2019-07-291-1/+1
| | | | | I forgot to amend again... Details are explained in f6a6b21f09b24955a44622e1767bf5b6630525be
* `travis_wait` silences any outputTakashi Kokubun2019-07-291-3/+1
| | | | | | | | | 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 e05f397f08e98fb170e3aca885d6028b344e833c but forgot to ammend this.
* Give up `brew update` on TravisTakashi Kokubun2019-07-291-1/+4
| | | | | | | | 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.
* Resurrect -v to debug osx problemsTakashi Kokubun2019-07-291-1/+2
| | | | | Formerly we did f432fd6ea595ef854e15d6dd65ef0ccb24a70456, but it did not eliminate our problems: https://travis-ci.org/ruby/ruby/jobs/564804923
* Stop isolating test_gc_compact on CITakashi Kokubun2019-07-291-6/+1
| | | | I think it's been stable these days.
* Moved osx_imageNobuyoshi Nakada2019-07-291-2/+1
| | | | | | 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.
* Extend travis_wait to 50min for osxTakashi Kokubun2019-07-271-2/+2
| | | | | | | but shorten --timeout-scale for now to avoid finishing with timeout if possible. timeout: https://travis-ci.org/ruby/ruby/jobs/564370175
* Include travis osx timeoutTakashi Kokubun2019-07-271-1/+1
| | | | for failures like https://travis-ci.org/ruby/ruby/jobs/564351066
* Bump osx_image on Travis CI to xcode11Nobuyoshi Nakada2019-07-261-4/+4
| | | | | Also Homebrew is up-to-date and "Updating Homebrew" takes less than one minute.
* Split ls lineNobuyoshi Nakada2019-07-241-1/+3
|
* GNU ls -T has different meaningNobuyoshi Nakada2019-07-241-1/+1
|
* Fix typo [ci skip]Takashi Kokubun2019-07-241-1/+1
|
* Resurrect timestamp debug logTakashi Kokubun2019-07-241-0/+1
| | | | | because it failed again https://travis-ci.org/ruby/ruby/jobs/563026412 even after 676df311d90990a4666adb5b1db4c7aa6b080e57.
* Reset mtime of all files on osxNobuyoshi Nakada2019-07-231-6/+4
| | | | Often checked out files are in the future on OSX image.
* Show seconds and in the modified time orderNobuyoshi Nakada2019-07-231-1/+1
| | | | [ci skip]
* Retry to update Unicode timestampNobuyoshi Nakada2019-07-231-2/+6
|
* Move travis coroutine check to cron only.Samuel Williams2019-07-201-2/+2
|
* --debug was not functional eitherTakashi Kokubun2019-07-201-1/+1
| | | | | | Even after 19d592dc82a31adf0bb6f027392cae69615c2394, the retry seems not functional. Let's just add --debug from the beginning because an output of each step is collapsed and we don't see `make up` output so often.
* Add `ucontext` and `copy` coroutine implementations to test matrix.Samuel Williams2019-07-181-5/+13
|
* Somehow `if` didn't workNobuyoshi Nakada2019-07-161-6/+1
|
* Print debugging information when updating failedNobuyoshi Nakada2019-07-161-1/+1
|
* Force-fetch unicode update only when it's neededTakashi Kokubun2019-07-151-3/+6
| | | | | nobu said that we could be banned if we aggressively downloaded unicode file from Travis.
* Try to prevent random build failure on Travis osxTakashi Kokubun2019-07-151-0/+2
|
* Add empty depend file if extconf.rb only existsNobuyoshi Nakada2019-07-141-0/+11
|
* Check dependencies on Travis-CINobuyoshi Nakada2019-07-091-0/+27
|
* Debugging failures on x86_64-darwin17 of travis-ciKazuhiro NISHIYAMA2019-07-031-3/+3
| | | | https://travis-ci.org/ruby/ruby/jobs/553346285
* The default branch is changed to masterTakashi Kokubun2019-07-011-3/+1
| | | | | | and now Travis should run on master, instead of trunk. (this is testing git push to master branch)
* Explain rubyspec Travis job in job nameTakashi Kokubun2019-06-271-1/+1
| | | | | | | | Eregon did not want https://github.com/ruby/ruby/commit/7b9dd379bfe4d597acfe4c26365feff61dabd488 because people only see Travis job name and don't see .travis.yml. I believe the new job name is simple and informative enough to explain why it exists.
* Add a comment explaining what to do if specs fail on Ruby 2.4Benoit Daloze2019-06-271-0/+2
|
* Update homebrew on TravisTakashi Kokubun2019-06-191-0/+1
| | | | | | because Travis is crashing like "Error: Your Homebrew is outdated. Please run `brew update`." https://travis-ci.org/ruby/ruby/jobs/547485832