script: rake ci
language: ruby
rvm:
  - 2.2.0
  - 2.2.2
  - jruby
  - ruby-head
  - jruby-head
  - rbx-2

# TODO: Put these back:
# * CELLULOID_TASK_CLASS=Fibered
# * CELLULOID_TASK_CLASS=Threaded
# For right now the imporant thing is to test BACKPORTED mode:

matrix:
  fast_finish: true
  allow_failures:
    - rvm: rbx-2
    - rvm: ruby-head
    - rvm: jruby-head
    - env: CELLULOID_BACKPORTED=true

env:
  matrix:
    - CELLULOID_BACKPORTED=true
    - CELLULOID_BACKPORTED=false

notifications:
  irc: "irc.freenode.org#celluloid"

sudo: false
install: bundle install --without=development