Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 993a916

Browse files
committed
Merge pull request #495 from larskanis/update_ruby_2.3
Update for ruby-2.3 cross build and travis-ci
2 parents 8b40686 + a1c306d commit 993a916

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
lines changed

.travis.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1+
sudo: false
2+
addons:
3+
apt:
4+
packages:
5+
- libgmp-dev # this is needed for ruby-2.1.10 and ruby-head on linux
16
language: ruby
7+
before_install:
8+
- gem install bundler
29
script: bundle exec rake test
3-
before_install: gem install bundler
410
os:
511
- linux
612
- osx
@@ -9,7 +15,8 @@ rvm:
915
- "1.8.7"
1016
- "2.0.0"
1117
- "2.1"
12-
- "2.2"
18+
- "2.2.3"
19+
- "2.3.0"
1320
- "ruby-head"
1421
- "rbx"
1522
- "system"
@@ -20,10 +27,12 @@ matrix:
2027
allow_failures:
2128
- rvm: system
2229
- os: osx
23-
rvm: "2.2"
30+
rvm: "2.3.0"
2431
- os: osx
2532
rvm: ruby-head
2633
- rvm: "rbx"
2734
- rvm: "rbx-head"
2835
- rvm: "1.8.7"
2936
- rvm: "1.9.3"
37+
after_failure:
38+
- "find build -name mkmf.log | xargs cat"

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ source 'https://rubygems.org'
33
group :development do
44
gem 'rake', '~> 10.1'
55
gem 'rake-compiler', '~> 0.9.5'
6-
gem 'rake-compiler-dock', '~> 0.4.0'
6+
gem 'rake-compiler-dock', '~> 0.5.2'
77
gem 'rspec', '~> 3.0'
88
gem 'rubygems-tasks', '~> 0.2.4', :require => 'rubygems/tasks'
99
gem "rubysl", "~> 2.0", :platforms => 'rbx'

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ if USE_RAKE_COMPILER
175175
ext.cross_platform = %w[i386-mingw32 x64-mingw32] # forces the Windows platform instead of the default one
176176
end
177177

178-
ENV['RUBY_CC_VERSION'] ||= '1.8.7:1.9.3:2.0.0:2.1.6:2.2.2'
178+
ENV['RUBY_CC_VERSION'] ||= '1.8.7:1.9.3:2.0.0:2.1.6:2.2.2:2.3.0'
179179

180180
# To reduce the gem file size strip mingw32 dlls before packaging
181181
ENV['RUBY_CC_VERSION'].to_s.split(':').each do |ruby_version|

ffi.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
1717
s.required_ruby_version = '>= 1.8.7'
1818
s.add_development_dependency 'rake', '~> 10.1'
1919
s.add_development_dependency 'rake-compiler', '~> 0.9'
20-
s.add_development_dependency 'rake-compiler-dock', '~> 0.4.0'
20+
s.add_development_dependency 'rake-compiler-dock', '~> 0.5.2'
2121
s.add_development_dependency 'rspec', '~> 2.14.1'
2222
s.add_development_dependency 'rubygems-tasks', "~> 0.2.4"
2323
end

0 commit comments

Comments
 (0)