gemfile:
  - gemfiles/middleman_3.3.gemfile
  - gemfiles/middleman_3.4.gemfile
  - gemfiles/middleman_3_unreleased.gemfile
  - gemfiles/middleman_4.0.gemfile
  - gemfiles/middleman_4.1.gemfile
  - gemfiles/middleman_4_unreleased.gemfile
language: ruby
matrix:
  allow_failures:
    - gemfile: gemfiles/middleman_3_unreleased.gemfile
    - gemfile: gemfiles/middleman_4_unreleased.gemfile
rvm:
  - 2.1.8
  - 2.2.4
  - 2.3.0
script: bundle exec rake test

gemfile:
  - gemfiles/middleman_3.3.gemfile
  - gemfiles/middleman_3.4.gemfile
  - gemfiles/middleman_3_unreleased.gemfile
  - gemfiles/middleman_4.0.gemfile
  - gemfiles/middleman_4.1.gemfile
  - gemfiles/middleman_4_unreleased.gemfile
language: ruby
matrix:
  allow_failures:
    - gemfile: gemfiles/middleman_3_unreleased.gemfile
    - gemfile: gemfiles/middleman_4_unreleased.gemfile
rvm:
  - 2.1.8
  - 2.2.4
  - 2.3.0
before_install:
  - sudo apt-get -qq update
  - sudo apt-get install -y libgmp3-dev
script: bundle exec rake test

Work around bug with installing dependencies on Travis.
Work around bug with installing dependencies on Travis.

https://travis-ci.org/AndrewKvalheim/middleman-pry/jobs/107371909#L280
