---
language: ruby

script: bundle exec rake

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq ragel

install:
  - bundle install --retry=3

rvm:
  - 1.9
  - 2.0
  - 2.1
  - 2.2
  - rbx-2
  - jruby

notifications:
  email:
    recipients:
      - yorickpeterse@gmail.com
    on_success: change
    on_failure: change

cache: bundler

branches:
  only:
    - master

---
language: ruby

script: bundle exec rake

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq ragel

install:
  - bundle install --retry=3

rvm:
  - 1.9
  - 2.0
  - 2.1
  - 2.2
  - rbx-2
  - jruby

notifications:
  email:
    recipients:
      - yorickpeterse@gmail.com
    on_success: change
    on_failure: change

cache: bundler

Build all branches on Travis.
Build all branches on Travis.
