---
language: ruby

before_install:
  - rvm get head
  - gem install bundler

rvm:
  - 2.2.4
  - 2.3.1
  - ruby-head
  - rbx-2
  - jruby-9.1.0.0
  - jruby-head

sudo: false

matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head
    - rvm: rbx-2

notifications:
  recipients:
    - mail@zzak.io
  slack: sinatrarb:LQGhUfGYcqRgRzwKea0bqUhY

---
language: ruby

dist: trusty
group: edge

before_install:
  - rvm get head
  - gem install bundler

rvm:
  - 2.2.4
  - 2.3.1
  - ruby-head
  - rbx-2
  - jruby-9.1.0.0
  - jruby-head

sudo: false

matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head
    - rvm: rbx-2

notifications:
  recipients:
    - mail@zzak.io
  slack: sinatrarb:LQGhUfGYcqRgRzwKea0bqUhY

Use trusty image and edge to use the latest available image
Use trusty image and edge to use the latest available image

Thanks @SamSaffron for the tip! :cake:
