version: "master-{build}"

os: Windows Server 2012 R2
platform:
  - x64

cache:
  - vendor/bundle
environment:
  matrix:
    - ruby_version: 25-x64
    - ruby_version: 26-x64

clone_folder: c:\projects\ohai
clone_depth: 1

skip_commits:
  # version bumps by Expeditor happen as a separate commit after the merge, we can skip
  author: Chef Expeditor
  # if ONLY the files listed below are changed in a commit, skip
  files:
    - MAINTAINERS.md
    - MAINTAINERS.toml
    - CHANGELOG.md
    - RELEASE_NOTES.md

skip_tags: true
branches:
  only:
    - master
    - 14-stable
    - 13-stable

install:
  - SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
  - SET BUNDLE_WITHOUT=debug:docs
  - echo %PATH%
  - bundle install --jobs 3 --retry 3
  - ruby --version
  - gem --version
  - bundler --version

build: off

test_script:
  - bundle exec rspec
  - bundle exec ohai

version: "master-{build}"

image: Visual Studio 2017
platform:
  - x64

cache:
  - vendor/bundle
environment:
  matrix:
    - ruby_version: 25-x64
    - ruby_version: 26-x64

clone_folder: c:\projects\ohai
clone_depth: 1

skip_commits:
  # version bumps by Expeditor happen as a separate commit after the merge, we can skip
  author: Chef Expeditor
  # if ONLY the files listed below are changed in a commit, skip
  files:
    - MAINTAINERS.md
    - MAINTAINERS.toml
    - CHANGELOG.md
    - RELEASE_NOTES.md

skip_tags: true
branches:
  only:
    - master
    - 14-stable
    - 13-stable

install:
  - SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
  - SET BUNDLE_WITHOUT=debug:docs
  - echo %PATH%
  - bundle install --jobs 3 --retry 3
  - ruby --version
  - gem --version
  - bundler --version

build: off

test_script:
  - bundle exec rspec
  - bundle exec ohai

Use the latet Appveyor imagee
Use the latet Appveyor imagee

Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
