Skip to content

Commit

Permalink
Set {source,target}_version to work with the current version of javac…
Browse files Browse the repository at this point in the history
… on macOS
  • Loading branch information
jcoglan committed May 14, 2020
1 parent db09a1a commit 46aafa4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
sudo: false
dist: trusty
language: ruby

rvm:
Expand All @@ -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 changes: 2 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 46aafa4

Please sign in to comment.