mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
39 lines
761 B
YAML
39 lines
761 B
YAML
os: Windows Server 2012 R2
|
|
platform:
|
|
- x64
|
|
|
|
environment:
|
|
matrix:
|
|
- ruby_version: "200-x64"
|
|
- ruby_version: "21"
|
|
|
|
clone_folder: c:\projects\inspec
|
|
clone_depth: 1
|
|
skip_tags: true
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
install:
|
|
- systeminfo
|
|
- winrm quickconfig -q
|
|
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
|
|
- echo %PATH%
|
|
- ruby --version
|
|
- gem install bundler --quiet --no-ri --no-rdoc
|
|
- ruby --version
|
|
- gem --version
|
|
- bundler --version
|
|
- ruby -r rubygems -e "p Gem.path"
|
|
|
|
build_script:
|
|
- bundle install --without integration tools maintenance
|
|
|
|
test_script:
|
|
- SET SPEC_OPTS=--format progress
|
|
- bundle exec rake
|
|
|
|
cache:
|
|
- C:\Users\appveyor\.gem\ruby\2.1.0
|
|
- C:\Ruby21\lib\ruby\gems\2.1.0
|
|
- C:\Ruby200-x64\lib\ruby\gems\2.0.0
|