language: ruby

sudo: false
cache: bundler

branches:
  only:
    - master

matrix:
  allow_failures:
    - gemfile: gemfiles/Gemfile-rspec-3.2.x
    - rvm: ruby-head

rvm:
  - 2.1
  - 2.2
  - 2.3.0
  - ruby-head
  - jruby-9.0.0.0

script:
  - bundle exec rspec
  - bundle exec rake test

gemfile:
  - gemfiles/Gemfile-rspec-3.2.x
  - gemfiles/Gemfile-rspec-3.3.x
  - gemfiles/Gemfile-rspec-3.4.x

language: ruby

sudo: false
cache: bundler

branches:
  only:
    - master
    - 0.6.0

matrix:
  allow_failures:
    - gemfile: gemfiles/Gemfile-rspec-3.2.x
    - rvm: ruby-head

rvm:
  - 2.1
  - 2.2
  - 2.3.0
  - ruby-head
  - jruby-9.0.0.0

script:
  - bundle exec rspec
  - bundle exec rake test

gemfile:
  - gemfiles/Gemfile-rspec-3.2.x
  - gemfiles/Gemfile-rspec-3.3.x
  - gemfiles/Gemfile-rspec-3.4.x

Test against 0.6.0 branch on TravisCI
Test against 0.6.0 branch on TravisCI
