Skip to content

Commit

Permalink
Add JRuby and Truffleruby to Travis-CI
Browse files Browse the repository at this point in the history
They currently fail, but it is in preparation of ffi#660.
  • Loading branch information
larskanis committed Jan 14, 2019
1 parent 1ddc987 commit c893222
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .travis.yml
Expand Up @@ -5,7 +5,7 @@ language: ruby
before_install:
- gem install bundler
script:
- bundle exec rake compile || bundle exec rake compile
- if [ -z "$NO_RAKE_COMPILE" ]; then bundle exec rake compile || bundle exec rake compile; fi
- bundle exec rake test
os:
- linux
Expand All @@ -25,6 +25,8 @@ matrix:
- rvm: system
- os: osx
rvm: ruby-head
- rvm: jruby
- rvm: truffleruby
exclude: # ruby 2.4.2 needs build with xcode9 or later on osx
- os: osx
rvm: 2.4.2
Expand All @@ -39,5 +41,17 @@ matrix:
rvm: 2.4.2
env:
- CC=clang
- os: linux
rvm: jruby
env:
- NO_RAKE_COMPILE=1
- os: osx
rvm: jruby
env:
- NO_RAKE_COMPILE=1
- os: linux
rvm: truffleruby
- os: osx
rvm: truffleruby
after_failure:
- "find build -name mkmf.log | xargs cat"

0 comments on commit c893222

Please sign in to comment.