mirror of
https://github.com/inspec/inspec
synced 2024-11-23 05:03:07 +00:00
6445e2c6d5
* Add windows functional tests. * Fix tests for 2012 server. * Fix windows build script * Add more functional tests for windows. * Update comment with TODO. Signed-off-by: Jared Quick <jquick@chef.io>
47 lines
894 B
YAML
47 lines
894 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
|
|
|
|
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
|
|
- if not exist C:\tmp mkdir C:\tmp
|
|
|
|
test_script:
|
|
- SET SPEC_OPTS=--format progress
|
|
- bundle exec rake
|
|
|
|
for:
|
|
-
|
|
matrix:
|
|
only:
|
|
- ruby_version: "25"
|
|
test_script:
|
|
- SET SPEC_OPTS=--format progress
|
|
- bundle exec rake
|
|
- bundle exec rake test:functional:windows
|
|
|