language: ruby
rvm:
 - 1.8.7
 - 1.9.2
 - 1.9.3
 - ruby-head
 - jruby
 - ree

before_install:
 - sudo apt-get update -qq
 - sudo apt-get install -qq -y graphicsmagick imagemagick

matrix:
  allow_failures:
    - rvm: ruby-head
language: ruby
cache: bundler
rvm:
 - 2.2
 - 2.3
 - ruby-head
 - jruby

before_install:
 - sudo apt-get update -qq
 - sudo apt-get install -qq -y graphicsmagick imagemagick

matrix:
  allow_failures:
    - rvm: ruby-head

Remove old ruby versions from Travis-CI
Remove old ruby versions from Travis-CI

Support major ruby versions and enable bundler caching