language: ruby
before_install:
  - gem install bundler
gemfile:
  - Gemfile
rvm:
  - 2.1
  - 2.2
  - ruby-head
script:
  - bundle exec rspec spec
before_install:
  - sudo apt-get install imagemagick libmagickcore-dev libmagickwand-dev
  - sudo apt-get install -qq graphicsmagick

language: ruby
before_install:
  - gem update bundler
gemfile:
  - Gemfile
rvm:
  - 2.1
  - 2.2
  - ruby-head
script:
  - bundle exec rspec spec
before_install:
  - sudo apt-get install imagemagick libmagickcore-dev libmagickwand-dev
  - sudo apt-get install -qq graphicsmagick

Use recent version of Bundler
Use recent version of Bundler
