---
language: ruby
rvm:
  - 2.2.3
  - 2.1.7
  - 2.0.0-p647
  - ruby-head
  - jruby-9.0
  - jruby-head
  - rbx-2
  - jruby-19mode
  - 1.9.3
  - 1.8.7
  - jruby-18mode
  - ree
matrix:
  allow_failures:
    - rvm: 1.9.3
    - rvm: rbx-2
    - rvm: jruby-head
    - rvm: ruby-head
gemfile:
  - Gemfile
before_script:
  - |
    case "${TRAVIS_RUBY_VERSION}" in
      rbx*)
        gem install psych
        ;;
    esac
  - rake travis:before -t
script: rake travis
after_script:
  - rake travis:after -t
notifications:
  email:
    recipients:
      - halostatue@gmail.com
    on_success: change
    on_failure: always
sudo: false
