File: appveyor.yml

package info (click to toggle)
ruby-net-ssh 1:6.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,640 kB
  • sloc: ruby: 15,861; makefile: 3
file content (58 lines) | stat: -rw-r--r-- 1,923 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
version: '{build}'

skip_tags: true

environment:
  matrix:
    - ruby_version: "jruby-9.1.2.0"
    - ruby_version: "26-x64"
    - ruby_version: "25-x64"
    - ruby_version: "24-x64"
    - ruby_version: "23"
    - ruby_version: "23-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 --user-install -v 1.17
  - SET BUNDLE_GEMFILE=Gemfile.noed25519
  - bundle 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.noed25519
  - SET NET_SSH_RUN_WIN_INTEGRATION_TESTS=YES
  - bundle exec rake test

build: off