Sha256: 8a4680247e90be897796eff7c9a4e0d57ed540d78663667c3e19e9ef466c1af0

Contents?: true

Size: 1.5 KB

Versions: 3

Compression:

Stored size: 1.5 KB

Contents

version: "master-{build}"

os: Windows Server 2012 R2
platform:
  - x64

environment:
  winrm_user: test_user
  winrm_pass: Pass@word1

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

    - ruby_version: "21"
      winrm_auth_type: ssl
      winrm_endpoint: https://localhost:5986/wsman
      winrm_no_ssl_peer_verification: true

    - ruby_version: "21"
      winrm_auth_type: ssl
      winrm_endpoint: https://localhost:5986/wsman
      use_ssl_peer_fingerprint: true

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: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 '@{AllowUnencrypted="true"}'
  - 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

3 entries across 3 versions & 1 rubygems

Version Path
winrm-1.6.1 appveyor.yml
winrm-1.6.0 appveyor.yml
winrm-1.5.0 appveyor.yml