inspec/appveyor.yml

59 lines
1.1 KiB
YAML
Raw Normal View History

2016-01-15 04:22:48 +00:00
os: Windows Server 2012 R2
platform:
- x64
environment:
matrix:
- ruby_version: "23"
- ruby_version: "24"
- ruby_version: "25"
2016-01-15 04:22:48 +00:00
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
files:
- '*.md'
- docs/**/*
- examples/**/*
- MAINTAINERS.toml
2016-01-15 04:22:48 +00:00
skip_tags: true
branches:
only:
- master
2016-04-29 23:14:37 +00:00
cache:
- vendor/bundle -> appveyor.yml
2016-01-15 04:22:48 +00:00
install:
- systeminfo
- winrm quickconfig -q
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
- echo %PATH%
- ruby --version
- gem --version
- bundler --version
2016-02-22 13:23:23 +00:00
- ruby -r rubygems -e "p Gem.path"
2016-01-15 04:22:48 +00:00
build_script:
2016-09-27 18:00:01 +00:00
- bundle install --path=vendor/bundle --without integration tools maintenance deploy
- if not exist C:\tmp mkdir C:\tmp
2016-01-15 04:22:48 +00:00
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