inspec/appveyor.yml
Jared Quick 4e54475cec
Fix tests for ruby 2.5 (#3125)
Signed-off-by: Jared Quick <jquick@chef.io>
2018-06-11 11:25:16 -04:00

36 lines
680 B
YAML

os: Windows Server 2012 R2
platform:
- x64
environment:
matrix:
- ruby_version: "23"
- ruby_version: "24"
- ruby_version: "25"
clone_folder: c:\projects\inspec
clone_depth: 1
skip_tags: true
branches:
only:
- master
- release-2.0
cache:
- vendor/bundle -> appveyor.yml
install:
- systeminfo
- winrm quickconfig -q
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
- echo %PATH%
- ruby --version
- gem --version
- bundler --version
- ruby -r rubygems -e "p Gem.path"
build_script:
- bundle install --path=vendor/bundle --without integration tools maintenance deploy
test_script:
- SET SPEC_OPTS=--format progress
- bundle exec rake