sudo: false
language: ruby
script:
  - bundle exec rspec
matrix:
  include:
  - rvm: 2.3.7
  - rvm: 2.4.4
  - rvm: 2.5.1
  - rvm: ruby-head
  - name: TruffleRuby
    rvm: system
    install:
      - export TRUFFLERUBY_VERSION=1.0.0-rc9
      - curl -L https://github.com/oracle/truffleruby/releases/download/vm-$TRUFFLERUBY_VERSION/truffleruby-$TRUFFLERUBY_VERSION-linux-amd64.tar.gz | tar xz
      - export PATH="$PWD/truffleruby-$TRUFFLERUBY_VERSION-linux-amd64/bin:$PATH"
      - gem install bundler
      - bundle install

sudo: false
language: ruby
script:
  - bundle exec rspec
rvm:
  - 2.3.7
  - 2.4.4
  - 2.5.1
  - ruby-head
  - truffleruby

Use rvm: truffleruby now that it's integrated
Use rvm: truffleruby now that it's integrated
