version: "{build}"
clone_depth: 5
build: off

install:
  - SET PATH=C:\Ruby%RUBY_FOLDER_VER%-x64\bin;%PATH%
  - bundle install --retry 5 --jobs=%NUMBER_OF_PROCESSORS% --clean --path vendor\bundle

environment:
  JEKYLL_VERSION: "~> 4.0"
  matrix:
    - RUBY_FOLDER_VER: "26"
      JEKYLL_VERSION : "~> 3.9.0"
    - RUBY_FOLDER_VER: "26"
      JEKYLL_VERSION : "~> 3.8.7"
    - RUBY_FOLDER_VER: "26"
      JEKYLL_VERSION : "~> 3.7.4"

test_script:
  - ruby --version
  - gem --version
  - bundler --version
  - bash script/cibuild

cache:
  - 'vendor\bundle -> appveyor.yml,Gemfile,jekyll-commonmark.gemspec'
