sudo: false
language: ruby
rvm:
  - 2.1.8
  - 2.2.4
  - 2.3.0
  - ruby-head
matrix:
  allow_failures:
    - rvm: ruby-head
install:
  - git clone https://github.com/ruby/mspec.git ../mspec
script:
  - ../mspec/bin/mspec
branches:
  only:
    - master
    - /^try/
notifications:
  email:
    on_success: change
    on_failure: change

sudo: false
language: ruby
rvm:
  - 2.1.8
  - 2.2.4
  - 2.3.0
  - ruby-head
install:
  - git clone https://github.com/ruby/mspec.git ../mspec
script:
  - ../mspec/bin/mspec
branches:
  only:
    - master
    - /^try/
notifications:
  email:
    on_success: change
    on_failure: change

Revert "Travis: allow ruby-head to fail since it's outdated"
Revert "Travis: allow ruby-head to fail since it's outdated"

* This reverts commit ebb208a3079ba6d09ca1d360f6cb41c2966c8796.
* ruby-head on Travis is now up-to-date.
