appveyor.yml in test-kitchen-1.6.0 vs appveyor.yml in test-kitchen-1.7.0

- old
+ new

@@ -1,34 +1,44 @@ -version: "master-{build}" - -os: Windows Server 2012 -platform: - - x64 - -environment: - matrix: - - ruby_version: "200" - -clone_folder: c:\projects\test_kitchen -clone_depth: 1 -skip_tags: true - -branches: - only: - - master - -install: - - winrm quickconfig -q - - SET PATH=C:\Ruby%ruby_version%\bin;%PATH% - - echo %PATH% - - ruby --version - - gem --version - - gem install bundler --quiet --no-ri --no-rdoc - - bundler --version - -build_script: - - bundle install || bundle install || bundle install - -test_script: - - SET SPEC_OPTS=--format progress - - bundle exec rake unit - - bundle exec rake quality +version: "master-{build}" + +os: Windows Server 2012 R2 +platform: + - x64 + +environment: + machine_user: test_user + machine_pass: Pass@word1 + machine_port: 5985 + KITCHEN_YAML: .kitchen.ci.yml + SSL_CERT_FILE: c:\projects\test_kitchen\certs.pem + + matrix: + - ruby_version: "21" + +clone_folder: c:\projects\test_kitchen +clone_depth: 1 +skip_tags: true + +branches: + only: + - master + +install: + - ps: net user /add $env:machine_user $env:machine_pass + - ps: net localgroup administrators $env:machine_user /add + - ps: $env:PATH="C:\Ruby$env:ruby_version\bin;$env:PATH" + - ps: gem install bundler --quiet --no-ri --no-rdoc + - ps: Invoke-WebRequest -Uri http://curl.haxx.se/ca/cacert.pem -OutFile c:\projects\test_kitchen\certs.pem + - ps: Write-Host $env:path + - ruby --version + - gem --version + - bundler --version + +build_script: + - bundle install --without guard integration + +test_script: + - SET SPEC_OPTS=--format progress + - bundle exec rake unit + - bundle exec rake quality + - bundle install --with integration + - bundle exec kitchen verify windows