language: ruby
sudo: false
cache: bundler
before_script:
  - bundle update

rvm:
  - ruby-head
  - 2.4.1
  - 2.3.3
  - 2.2.6

os:
  - linux
  # - osx

matrix:
  fast_finish: true
  allow_failures:
    - rvm: ruby-head
    - gemfile: Gemfile-v3
      rvm: 2.4.1

env:
  global:
    - TEST=true

gemfile:
  - Gemfile
  - Gemfile-v3

script: bundle exec rake test

language: ruby
sudo: false
cache: bundler
before_script:
  - bundle update

rvm:
  - ruby-head
  - 2.4.1
  - 2.3.3
  - 2.2.6

os:
  - linux
  # - osx

matrix:
  fast_finish: true
  allow_failures:
    - rvm: ruby-head

env:
  global:
    - TEST=true

gemfile:
  - Gemfile
  - Gemfile-v3

script: bundle exec rake test

Revert "Middleman 3.x doesn't support Ruby 2.4.0"
Revert "Middleman 3.x doesn't support Ruby 2.4.0"

This reverts commit 534ccfb55b0ac0b28c9b4aa1c25e3f525dbd90a4.
