Sha256: 045beecabad8fd07b22e152832c4ab2d9dc15c48272366f8751a0773baeef894

Contents?: true

Size: 1.92 KB

Versions: 11

Compression:

Stored size: 1.92 KB

Contents

version: "master-{build}"

os: Windows Server 2012 R2
platform:
  - x64

environment:
  winrm_user: test_user
  winrm_pass: Pass@word1
  user_cert: c:\projects\winrm\user.pem
  user_key: c:\projects\winrm\key.pem

  matrix:
    - ruby_version: "21"
      winrm_endpoint: http://localhost:5985/wsman

clone_folder: c:\projects\winrm
clone_depth: 1
branches:
  only:
    - master

install:
  - ps: net user /add $env:winrm_user $env:winrm_pass
  - ps: net localgroup administrators $env:winrm_user /add
  - ps: $env:PATH="C:\OpenSSL-Win64\bin;$env:PATH"
  - ps: Import-Module c:\projects\winrm\WinrmAppveyor.psm1
  - ps: New-ClientCertificate $env:winrm_user c:\projects\winrm
  - ps: $env:user_cert_thumb = (Import-pfxCertificate -FilePath c:\projects\winrm\user.pfx -CertStoreLocation Cert:\LocalMachine\root).Thumbprint
  - ps: Import-pfxCertificate -FilePath c:\projects\winrm\user.pfx -CertStoreLocation Cert:\LocalMachine\TrustedPeople
  - ps: $env:winrm_cert = (New-SelfSignedCertificate -DnsName localhost -CertStoreLocation cert:\localmachine\my).Thumbprint
  - ps: winrm create winrm/config/Listener?Address=*+Transport=HTTPS "@{Hostname=`"localhost`";CertificateThumbprint=`"$($env:winrm_cert)`"}"
  - ps: winrm set winrm/config/client/auth '@{Basic="true"}'
  - ps: winrm set winrm/config/service/auth '@{Basic="true"}'
  - ps: winrm set winrm/config/service/auth '@{Certificate="true"}'
  - ps: winrm set winrm/config/service/auth '@{CbtHardeningLevel="Strict"}'
  - ps: winrm set winrm/config/service '@{AllowUnencrypted="true"}'
  - ps: New-WinrmUserCertificateMapping $env:user_cert_thumb
  - ps: $env:PATH="C:\Ruby$env:ruby_version\bin;$env:PATH"
  - ps: Write-Host $env:PATH
  - ps: ruby --version
  - ps: gem --version
  - ps: gem install bundler --quiet --no-ri --no-rdoc
  - ps: bundler --version

build_script:
  - bundle install || bundle install || bundle install

test_script:
  - SET SPEC_OPTS=--format progress
  - bundle exec rake integration

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
vagrant-unbundled-1.9.1.1 vendor/bundle/ruby/2.4.0/gems/winrm-1.8.1/appveyor.yml
vagrant-compose-yaml-0.1.3 vendor/bundle/ruby/2.2.0/gems/winrm-1.8.1/appveyor.yml
vagrant-compose-yaml-0.1.2 vendor/bundle/ruby/2.2.0/gems/winrm-1.8.1/appveyor.yml
vagrant-compose-yaml-0.1.1 vendor/bundle/ruby/2.2.0/gems/winrm-1.8.1/appveyor.yml
vagrant-compose-yaml-0.1.0 vendor/bundle/ruby/2.2.0/gems/winrm-1.8.1/appveyor.yml
vagrant-unbundled-1.8.5.2 vendor/bundle/ruby/2.3.0/gems/winrm-1.8.1/appveyor.yml
vagrant-unbundled-1.8.5.1 vendor/bundle/ruby/2.3.0/gems/winrm-1.8.1/appveyor.yml
vagrant-unbundled-1.8.4.2 vendor/bundle/ruby/2.3.0/gems/winrm-1.8.1/appveyor.yml
vagrant-unbundled-1.8.4.1 vendor/bundle/ruby/2.3.0/gems/winrm-1.8.1/appveyor.yml
winrm-1.8.1 appveyor.yml
winrm-1.8.0 appveyor.yml