ruby-changes:60934
From: Nobuyoshi <ko1@a...>
Date: Wed, 29 Apr 2020 18:18:26 +0900 (JST)
Subject: [ruby-changes:60934] 56d6cfe88a (master): .travis.yml: hoisted out spec-on-old-ruby
https://git.ruby-lang.org/ruby.git/commit/?id=56d6cfe88a From 56d6cfe88ae355a089a164f351dcd7f2112cf852 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Tue, 28 Apr 2020 19:54:14 +0900 Subject: .travis.yml: hoisted out spec-on-old-ruby diff --git a/.travis.yml b/.travis.yml index 48668c5..c720cb3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -360,27 +360,25 @@ env: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L360 -Wunused-variable' - LDFLAGS=-Wno-unused-command-line-argument - - &rubyspec25 - name: Check ruby/spec version guards on Ruby 2.5 + - &spec-on-old-ruby language: ruby - rvm: 2.5.7 before_install: install: before_script: chmod -R u+w spec/ruby # -j randomly hangs. script: ruby -C spec/ruby ../mspec/bin/mspec . + + - &rubyspec25 + name: Check ruby/spec version guards on Ruby 2.5 + rvm: 2.5.7 + <<: *spec-on-old-ruby after_failure: - echo "ruby/spec failed on Ruby 2.5. This is likely because of a missing ruby_version_is guard, please add it. See spec/README.md." - &rubyspec27 name: Check ruby/spec version guards on Ruby 2.7 - language: ruby rvm: 2.7.0 - before_install: - install: - before_script: chmod -R u+w spec/ruby - # -j randomly hangs. - script: ruby -C spec/ruby ../mspec/bin/mspec . + <<: *spec-on-old-ruby after_failure: - echo "ruby/spec failed on Ruby 2.7. This is likely because of a missing ruby_version_is guard, please add it. See spec/README.md." -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/