language: ruby
sudo: required
dist: trusty
branches:
  only:
    - master
    - travis-ci
rvm:
  - default
  - 2.3.0
  - jruby
  - rbx
install: gem install minitest xmpp4r
script: ruby quizbot_test.rb

language: ruby
sudo: required
dist: trusty
branches:
  only:
    - master
    - travis-ci
rvm:
  - default
  - 2.3.0
  - jruby
  - rbx
install:
  - export JRUBY_OPTS='--client -J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 -Xcext.enabled=false -J-Xss2m -Xcompile.invokedynamic=false'
  - gem install minitest xmpp4r
script: ruby quizbot_test.rb

Use correct flag for jruby
Use correct flag for jruby
