mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
.travis.yml: hoisted out spec-on-old-ruby
This commit is contained in:
parent
ac0c760843
commit
56d6cfe88a
1 changed files with 7 additions and 9 deletions
16
.travis.yml
16
.travis.yml
|
@ -360,27 +360,25 @@ env:
|
||||||
-Wunused-variable'
|
-Wunused-variable'
|
||||||
- LDFLAGS=-Wno-unused-command-line-argument
|
- LDFLAGS=-Wno-unused-command-line-argument
|
||||||
|
|
||||||
- &rubyspec25
|
- &spec-on-old-ruby
|
||||||
name: Check ruby/spec version guards on Ruby 2.5
|
|
||||||
language: ruby
|
language: ruby
|
||||||
rvm: 2.5.7
|
|
||||||
before_install:
|
before_install:
|
||||||
install:
|
install:
|
||||||
before_script: chmod -R u+w spec/ruby
|
before_script: chmod -R u+w spec/ruby
|
||||||
# -j randomly hangs.
|
# -j randomly hangs.
|
||||||
script: ruby -C spec/ruby ../mspec/bin/mspec .
|
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:
|
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."
|
- 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
|
- &rubyspec27
|
||||||
name: Check ruby/spec version guards on Ruby 2.7
|
name: Check ruby/spec version guards on Ruby 2.7
|
||||||
language: ruby
|
|
||||||
rvm: 2.7.0
|
rvm: 2.7.0
|
||||||
before_install:
|
<<: *spec-on-old-ruby
|
||||||
install:
|
|
||||||
before_script: chmod -R u+w spec/ruby
|
|
||||||
# -j randomly hangs.
|
|
||||||
script: ruby -C spec/ruby ../mspec/bin/mspec .
|
|
||||||
after_failure:
|
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."
|
- 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."
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue