CHips L MINI SHELL

CHips L pro

Current Path : /opt/puppetlabs/puppet/lib/ruby/gems/2.5.0/gems/net-ssh-4.2.0/
Upload File :
Current File : //opt/puppetlabs/puppet/lib/ruby/gems/2.5.0/gems/net-ssh-4.2.0/appveyor.yml

version: '{build}'

skip_tags: true

environment:
  matrix:
    - ruby_version: "jruby-9.1.2.0"
    - ruby_version: "23"
    - ruby_version: "23-x64"
    - ruby_version: "22-x64"

matrix:
  allow_failures:
    - ruby_version: "jruby-9.1.2.0"

#init:
#  - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))

#on_finish:
#  - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))


platform:
  - x86

install:
  - SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
  - if "%ruby_version%" == "jruby-9.1.2.0" ( cinst javaruntime -i )
  - if "%ruby_version%" == "jruby-9.1.2.0" ( cinst jruby --version 9.1.2.0 -i --allow-empty-checksums )
  - if "%ruby_version%" == "jruby-9.1.2.0" ( SET "PATH=C:\jruby-9.1.2.0\bin\;%PATH%" )
  - ruby --version
  - gem install bundler --no-document -v 1.13.5
  - SET BUNDLE_GEMFILE=Gemfile.norbnacl
  - bundle _1.13.5_ install --retry=3
  - cinst freesshd
  - cinst putty --allow-empty-checksums
  - ps: |
          if ($env:Processor_Architecture -eq "x86")
          {
            dir 'C:\Program Files\'
            dir 'C:\Program Files\freeSSHd'
            cp 'test\win_integration\FreeSSHDService.ini' 'C:\Program Files\freeSSHd\FreeSSHDService.ini'
            & 'C:\Program Files\freeSSHd\FreeSSHDService.exe'
          } else {
            dir 'C:\Program Files (x86)\'
            dir 'C:\Program Files (x86)\freeSSHd'
            cp 'test\win_integration\FreeSSHDService32.ini' 'C:\Program Files (x86)\freeSSHd\FreeSSHDService.ini'
            & 'C:\Program Files (x86)\freeSSHd\FreeSSHDService.exe'
          }

test_script:
  - SET BUNDLE_GEMFILE=Gemfile.norbnacl
  - SET NET_SSH_RUN_WIN_INTEGRATION_TESTS=YES
  - bundle _1.13.5_ exec rake test

build: off

Copyright 2K16 - 2K18 Indonesian Hacker Rulez