mirror of
https://github.com/inspec/inspec
synced 2024-11-30 08:30:39 +00:00
7c58285eb6
* Resource for a Windows Security Identifier (SID) * Integration tests for security_identifier resource * Address rubocop violations * Improve security_identifier from PR feedback * Update security_identifier tests * Improve security_identifier unit tests * Fix unit tests fpr security_identifier resource * More security_identifier unit tests * Add docs page for security_identifier resource * Fix issues with documentation * Improve docs Link to Microsoft reference page, and use their term 'trustee' instead of 'entity' where applicable. * Change exists to exist * Test appveyor file changes. Signed-off-by: Jared Quick <jquick@chef.io>
62 lines
1.3 KiB
YAML
62 lines
1.3 KiB
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_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
|
|
#
|
|
# Update jq: Currently this does not as expected and is blocking any builds that have any
|
|
# files matching the paths below.
|
|
#
|
|
# files:
|
|
# - '*.md'
|
|
# - docs/**/*
|
|
# - examples/**/*
|
|
# - MAINTAINERS.toml
|
|
|
|
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
|
|
|