Add Ruby 2.2 & 2.3 to Travis config and fix GEM dependencies
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
language: ruby
|
language: ruby
|
||||||
rvm:
|
rvm:
|
||||||
|
- 2.3.0
|
||||||
|
- 2.2.0
|
||||||
- 2.1.0
|
- 2.1.0
|
||||||
- 2.0.0
|
- 2.0.0
|
||||||
- 1.9.3
|
- 1.9.3
|
||||||
|
|||||||
22
Gemfile
22
Gemfile
@@ -12,8 +12,6 @@ group :development do
|
|||||||
gem "guard"
|
gem "guard"
|
||||||
gem "guard-rspec"
|
gem "guard-rspec"
|
||||||
gem "rb-readline", "~> 0.5.0"
|
gem "rb-readline", "~> 0.5.0"
|
||||||
gem "jeweler", ">= 1.6.2"
|
|
||||||
gem 'coveralls', require: false
|
|
||||||
gem "test_construct"
|
gem "test_construct"
|
||||||
gem "capture-output", "~> 1.0.0"
|
gem "capture-output", "~> 1.0.0"
|
||||||
if RbConfig::CONFIG['host_os'] =~ /linux|freebsd|openbsd|sunos|solaris/
|
if RbConfig::CONFIG['host_os'] =~ /linux|freebsd|openbsd|sunos|solaris/
|
||||||
@@ -22,7 +20,25 @@ group :development do
|
|||||||
if RbConfig::CONFIG['host_os'] =~ /darwin|mac os/
|
if RbConfig::CONFIG['host_os'] =~ /darwin|mac os/
|
||||||
gem 'terminal-notifier-guard', '~> 1.6.1'
|
gem 'terminal-notifier-guard', '~> 1.6.1'
|
||||||
end
|
end
|
||||||
if RUBY_VERSION >= '1.9.2'
|
if RUBY_VERSION < '2.0.0'
|
||||||
|
gem "addressable", "< 2.5"
|
||||||
|
gem "json", "< 2"
|
||||||
|
gem "coveralls", "< 0.8.6", require: false
|
||||||
|
gem "tins", "< 1.3.5"
|
||||||
|
gem "term-ansicolor", "< 1.3.2"
|
||||||
|
gem "rubocop", "< 0.42"
|
||||||
|
else
|
||||||
|
gem "coveralls", require: false
|
||||||
gem "rubocop"
|
gem "rubocop"
|
||||||
end
|
end
|
||||||
|
if RUBY_VERSION < '2.1.0'
|
||||||
|
gem "rdoc", "< 5"
|
||||||
|
end
|
||||||
|
if RUBY_VERSION < '2.3.0'
|
||||||
|
gem "rack", "< 2"
|
||||||
|
gem "listen", "< 3"
|
||||||
|
gem "jeweler", ">= 1.6.2", "< 2.2"
|
||||||
|
else
|
||||||
|
gem "jeweler", ">= 1.6.2"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user