Set {source,target}_version to work with the current version of javac on macOS

This commit is contained in:
James Coglan
2020-05-14 22:16:58 +01:00
parent db09a1af22
commit 46aafa4e99
2 changed files with 7 additions and 4 deletions
+5 -4
View File
@@ -1,5 +1,4 @@
sudo: false
dist: trusty
language: ruby
rvm:
@@ -13,11 +12,13 @@ rvm:
- 2.6.6
- 2.7.1
- jruby-19mode
- jruby-head
- jruby-9.0
- jruby-9.1
- jruby-9.2
before_install:
- '[[ "$(ruby --version)" == *"1.9.3"* ]] && gem update --system 2.4.8 || true'
- '[[ "$(ruby --version)" != *"1.9.3"* ]] || gem update --system 2.4.8'
script:
- bundle exec rake compile
- bundle exec rspec -c spec
- bundle exec rspec
+2
View File
@@ -9,6 +9,8 @@ if RUBY_PLATFORM =~ /java/
require 'rake/javaextensiontask'
Rake::JavaExtensionTask.new('websocket-driver', spec) do |ext|
ext.name = 'websocket_mask'
ext.source_version = '8'
ext.target_version = '8'
end
else
require 'rake/extensiontask'