---
language: ruby
rvm:
  - 2.0.0
  - 2.1.9
  - 2.2.4
  - 2.3.1
  - jruby
  - rbx
matrix:
  allow_failures:
    - rvm: jruby
    - rvm: rbx
script: rake spec

---
language: ruby
sudo: false
cache:
  - bundler
rvm:
  - 2.0.0
  - 2.1.9
  - 2.2.4
  - 2.3.1
  - jruby
  - rbx
matrix:
  allow_failures:
    - rvm: jruby
    - rvm: rbx
script: rake spec

Use Travis' new container-based infrastructure
Use Travis' new container-based infrastructure

Travis CI says it is faster than legacy structure.
ref: https://docs.travis-ci.com/user/migrating-from-legacy/
