language: ruby
script:
  - bundle exec mspec .
rvm:
  - 2.1.2
  - ruby-head
  - rbx-2
  - jruby-1.7.12
  - jruby-head
allow_failures:
 - rvm: ruby-head
 - rvm: rbx-2
 - rvm: jruby-1.7.12
 - rvm: jruby-head
notifications:
  recipients:
    - brixen@gmail.com
  irc:
    channels:
      - "chat.freenode.net#rubyspec"
    on_success: change
    on_failure: change
    template:
      - "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}"

language: ruby
script: bundle exec mspec .
rvm:
  - 2.1
  - ruby-head
  - rbx-2
  - jruby
  - jruby-head
matrix:
  allow_failures:
   - rvm: ruby-head
   - rvm: rbx-2
   - rvm: jruby
   - rvm: jruby-head
notifications:
  recipients:
    - brixen@gmail.com
  irc:
    channels:
      - "chat.freenode.net#rubyspec"
    on_success: change
    on_failure: change
    template:
      - "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}"

Update Travis Rubies/actual allowed failures
Update Travis Rubies/actual allowed failures

The syntax for allowed failures requires the block to be nested in a "matrix"
key. This also cleans up the syntax used for specifying the test command since
there's only one.
