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:
commit
6076b9a070
2 changed files with 11 additions and 5 deletions
11
.travis.yml
11
.travis.yml
|
@ -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
|
||||
|
|
5
Gemfile
5
Gemfile
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue