language: ruby
rvm:
  - 1.9.3
  - 2.0.0
  - 2.1
  - 2.2
  - jruby
  - rbx-2
matrix:
  allow_failures:
    - rvm: rbx-2
  fast_finish: true

language: ruby
rvm:
  - 1.9.3
  - 2.0.0
  - 2.1
  - 2.2
  - jruby
  - rbx-2
  - ruby-head
matrix:
  allow_failures:
    - rvm: rbx-2
    - rvm: ruby-head
  fast_finish: true

Build against ruby-head and allow failures
Build against ruby-head and allow failures