Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CI to test Ruby 2.7 #310

Merged
merged 1 commit into from Jun 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions .travis.yml
Expand Up @@ -6,8 +6,10 @@ os:
- osx

rvm:
- ruby-2.4
- ruby-2.5
- '2.4'
- '2.5'
- '2.6'
- '2.7'
- ruby-head

matrix:
Expand Down
6 changes: 5 additions & 1 deletion Rakefile
Expand Up @@ -10,4 +10,8 @@ Rake::ExtensionTask.new do |ext|
ext.gem_spec = gemspec
end

task(default: :compile)
task :test do
sh 'bin/testunit'
end

task(default: %i(compile test))
3 changes: 1 addition & 2 deletions bin/ci
Expand Up @@ -5,6 +5,5 @@ set -euxo pipefail
if [[ "${MINIMAL_SUPPORT-0}" -eq 1 ]]; then
exec bin/test-minimal-support
else
rake
exec bin/testunit
exec rake
fi
2 changes: 1 addition & 1 deletion bootsnap.gemspec
Expand Up @@ -37,7 +37,7 @@ Gem::Specification.new do |spec|
end

spec.add_development_dependency("bundler")
spec.add_development_dependency('rake', '~> 10.0')
spec.add_development_dependency('rake')
spec.add_development_dependency('rake-compiler', '~> 0')
spec.add_development_dependency("minitest", "~> 5.0")
spec.add_development_dependency("mocha", "~> 1.2")
Expand Down
2 changes: 1 addition & 1 deletion ext/bootsnap/bootsnap.c
Expand Up @@ -800,7 +800,7 @@ try_input_to_storage(VALUE arg)
}

static VALUE
rescue_input_to_storage(VALUE arg)
rescue_input_to_storage(VALUE arg, VALUE e)
{
return uncompilable;
}
Expand Down