2016-01-15 04:22:48 +00:00
|
|
|
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
|
2016-02-22 13:23:23 +00:00
|
|
|
- ruby --version
|
2016-01-15 04:22:48 +00:00
|
|
|
- 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:
|
|
|
|
- bundle install --without integration tools maintenance
|
|
|
|
|
|
|
|
test_script:
|
|
|
|
- SET SPEC_OPTS=--format progress
|
|
|
|
- bundle exec rake
|
|
|
|
|
|
|
|
cache:
|
2016-02-22 13:23:23 +00:00
|
|
|
- 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
|