1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Merge pull request #2011 from capistrano/fix-ruby-2.0-travis-failure

Fix ruby 2.0 travis failure
This commit is contained in:
Matt Brictson 2019-01-14 06:21:40 -08:00 committed by GitHub
commit 6076b9a070
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 5 deletions

View file

@ -1,8 +1,9 @@
language: ruby
rvm:
- 2.5.1
- 2.4.4
- 2.3.7
- 2.6.0
- 2.5.3
- 2.4.5
- 2.3.8
- 2.2
- 2.1
- 2.0
@ -15,8 +16,8 @@ matrix:
include:
- rvm: rbx-2
script: bundle exec rake spec
# Run Danger only once, on 2.3.1
- rvm: 2.3.1
# Run Danger only once, on 2.5.3
- rvm: 2.5.3
before_script: bundle exec danger
script: bundle exec rake spec rubocop

View file

@ -25,3 +25,8 @@ end
if Gem::Requirement.new("< 2.1").satisfied_by?(Gem::Version.new(RUBY_VERSION))
gem "public_suffix", "< 3.0.0"
end
# Latest versions of i18n don't support Ruby < 2.1
if Gem::Requirement.new("< 2.1").satisfied_by?(Gem::Version.new(RUBY_VERSION))
gem "i18n", "< 1.3.0"
end