language: ruby
os:
  - linux
  - osx
rvm:
  - 2.0.0-p598
  - 2.1.5
  - 2.2.2
  - ruby-head
install:
  - git clone https://github.com/ruby/mspec.git ../mspec
script:
  - ../mspec/bin/mspec
matrix:
  allow_failures:
    - os: osx
      rvm: ruby-head
branches:
  only:
    - master

language: ruby
os:
  - linux
  - osx
rvm:
  - 2.0.0-p598
  - 2.1.5
  - 2.2.2
  - ruby-head
install:
  - git clone https://github.com/ruby/mspec.git ../mspec
script:
  - ../mspec/bin/mspec
matrix:
  exclude:
    - os: osx
      rvm: ruby-head
branches:
  only:
    - master

Exclude ruby-head on OS X, it is slow and pretty old.
Exclude ruby-head on OS X, it is slow and pretty old.
